diff --git a/requirements.txt b/requirements.txt index 4e834b4..d8671d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -pyasn1>=0.3.4 +pyasn1~=0.3.4 diff --git a/setup.py b/setup.py index 12b64da..de8cd26 100644 --- a/setup.py +++ b/setup.py @@ -67,7 +67,7 @@ def howto_install_setuptools(): from setuptools import setup, Command params = { - 'install_requires': ['pyasn1>=0.3.4'], + 'install_requires': ['pyasn1~=0.3.4'], 'zip_safe': True } @@ -81,7 +81,7 @@ def howto_install_setuptools(): params = {} if sys.version_info[:2] > (2, 4): - params['requires'] = ['pyasn1(>=0.3.4)'] + params['requires'] = ['pyasn1(~=0.3.4)'] params.update( {'name': 'pyasn1-modules',