mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add check for ssh-packaging
This commit is contained in:
parent
1975043730
commit
d016743c4f
1 changed files with 6 additions and 1 deletions
7
setup.py
7
setup.py
|
@ -104,6 +104,9 @@ SALT_SYSPATHS = os.path.join(os.path.abspath(SETUP_DIRNAME), 'salt', 'syspaths.p
|
|||
|
||||
# Salt SSH Packaging Detection
|
||||
PACKAGED_FOR_SALT_SSH_FILE = os.path.join(os.path.abspath(SETUP_DIRNAME), '.salt-ssh-package')
|
||||
if '--ssh-packaging' in sys.argv:
|
||||
with open(PACKAGED_FOR_SALT_SSH_FILE, 'w+') as fp_:
|
||||
fp_.write(' ')
|
||||
PACKAGED_FOR_SALT_SSH = os.path.isfile(PACKAGED_FOR_SALT_SSH_FILE)
|
||||
|
||||
# pylint: disable=W0122
|
||||
|
@ -582,7 +585,9 @@ else:
|
|||
|
||||
VER = __version__ # pylint: disable=E0602
|
||||
DESC = 'Portable, distributed, remote execution and configuration management system'
|
||||
|
||||
print('XXXXXXXXXXXXXXXXX')
|
||||
print(NAME)
|
||||
print('XXXXXXXXXXXXXXXXX')
|
||||
SETUP_KWARGS = {'name': NAME,
|
||||
'version': VER,
|
||||
'description': DESC,
|
||||
|
|
Loading…
Add table
Reference in a new issue