mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add yum
to freezer includes if we can actually freeze it, ie, is it available?
This commit is contained in:
parent
39631427b4
commit
0aeb2af20f
1 changed files with 6 additions and 4 deletions
10
setup.py
10
setup.py
|
@ -260,10 +260,12 @@ if sys.platform.startswith('win'):
|
|||
])
|
||||
setup_kwargs['install_requires'].append('WMI')
|
||||
elif sys.platform.startswith('linux'):
|
||||
freezer_includes.extend([
|
||||
'yum',
|
||||
'spwd',
|
||||
])
|
||||
freezer_includes.append('spwd')
|
||||
try:
|
||||
import yum
|
||||
freezer_includes.append('yum')
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
if HAS_ESKY:
|
||||
# if the user has the esky / bbfreeze libraries installed, add the
|
||||
|
|
Loading…
Add table
Reference in a new issue