mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
apache-libcloud
should not be a dependency for Windows.
This commit is contained in:
parent
8165d69062
commit
582207634a
1 changed files with 8 additions and 3 deletions
11
setup.py
11
setup.py
|
@ -368,9 +368,14 @@ VER = __version__ # pylint: disable=E0602
|
|||
DESC = ('Portable, distributed, remote execution and '
|
||||
'configuration management system')
|
||||
|
||||
with open(SALT_REQS) as f:
|
||||
REQUIREMENTS = [line for line in f.read().split('\n') if line]
|
||||
|
||||
REQUIREMENTS = []
|
||||
with open(SALT_REQS) as rfh:
|
||||
for line in rfh.readlines():
|
||||
if not line or line.startswith('#'):
|
||||
continue
|
||||
if IS_WINDOWS_PLATFORM and 'libcloud' in line:
|
||||
continue
|
||||
REQUIREMENTS.append(line.strip())
|
||||
|
||||
SETUP_KWARGS = {'name': NAME,
|
||||
'version': VER,
|
||||
|
|
Loading…
Add table
Reference in a new issue