mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Allow pycrypto to be included in parsed requirements
This commit is contained in:
parent
69a3d33f09
commit
ac90bb4d9f
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -206,7 +206,7 @@ def _parse_requirements_file(requirements_file):
|
|||
except ValueError:
|
||||
pkg, pyverspec = line, ''
|
||||
pyverspec = pyverspec.strip()
|
||||
if pyverspec:
|
||||
if pyverspec and (not pkg.startswith('pycrypto') or pkg.startswith('pycryptodome')):
|
||||
_, op, ver = pyverspec.split(' ', 2)
|
||||
if not _check_ver(platform.python_version(), _parse_op(op), _parse_ver(ver)):
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue