mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Start off with the common salt install requires
This commit is contained in:
parent
acf51004f8
commit
da1f8bd4b7
18
setup.py
18
setup.py
@ -446,15 +446,6 @@ VER = __version__ # pylint: disable=E0602
|
|||||||
DESC = ('Portable, distributed, remote execution and '
|
DESC = ('Portable, distributed, remote execution and '
|
||||||
'configuration management system')
|
'configuration management system')
|
||||||
|
|
||||||
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,
|
SETUP_KWARGS = {'name': NAME,
|
||||||
'version': VER,
|
'version': VER,
|
||||||
'description': DESC,
|
'description': DESC,
|
||||||
@ -538,8 +529,9 @@ SETUP_KWARGS = {'name': NAME,
|
|||||||
['doc/man/salt.7',
|
['doc/man/salt.7',
|
||||||
]),
|
]),
|
||||||
],
|
],
|
||||||
# Required for esky builds
|
# Required for esky builds, ZeroMQ or RAET deps will be added
|
||||||
'install_requires': REQUIREMENTS,
|
# at install time
|
||||||
|
'install_requires': _parse_requirements_file(SALT_REQS),
|
||||||
# The dynamic module loading in salt.modules makes this
|
# The dynamic module loading in salt.modules makes this
|
||||||
# package zip unsafe. Required for esky builds
|
# package zip unsafe. Required for esky builds
|
||||||
'zip_safe': False
|
'zip_safe': False
|
||||||
@ -548,8 +540,8 @@ SETUP_KWARGS = {'name': NAME,
|
|||||||
if IS_WINDOWS_PLATFORM is False:
|
if IS_WINDOWS_PLATFORM is False:
|
||||||
SETUP_KWARGS['cmdclass']['sdist'] = CloudSdist
|
SETUP_KWARGS['cmdclass']['sdist'] = CloudSdist
|
||||||
SETUP_KWARGS['cmdclass']['install_lib'] = InstallLib
|
SETUP_KWARGS['cmdclass']['install_lib'] = InstallLib
|
||||||
#SETUP_KWARGS['packages'].extend(['salt.cloud',
|
# SETUP_KWARGS['packages'].extend(['salt.cloud',
|
||||||
# 'salt.cloud.clouds'])
|
# 'salt.cloud.clouds'])
|
||||||
SETUP_KWARGS['package_data']['salt.cloud'] = ['deploy/*.sh']
|
SETUP_KWARGS['package_data']['salt.cloud'] = ['deploy/*.sh']
|
||||||
SETUP_KWARGS['data_files'][0][1].extend([
|
SETUP_KWARGS['data_files'][0][1].extend([
|
||||||
'doc/man/salt-master.1',
|
'doc/man/salt-master.1',
|
||||||
|
Loading…
Reference in New Issue
Block a user