Skip to content

Commit a6c3627

Browse files
authored
Merge branch 'master' into CFY-7568-handle-home-dir
2 parents 606b764 + 5463a66 commit a6c3627

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

agent_packager/packager.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
DEFAULT_OUTPUT_TAR_PATH = '{0}-{1}-agent.tar.gz'
1515
DEFAULT_VENV_PATH = 'cloudify/env'
1616

17+
PREINSTALL_MODULES = [
18+
'setuptools==36.8.0'
19+
]
20+
1721
EXTERNAL_MODULES = [
1822
'celery==3.1.17'
1923
]
@@ -265,6 +269,8 @@ def _install(modules, venv, final_set):
265269
:param dict final_set: dict to populate with modules.
266270
"""
267271
installer = ModuleInstaller(modules, venv, final_set)
272+
lgr.info('Installing modules required by setup...')
273+
installer.install_modules(PREINSTALL_MODULES)
268274
lgr.info('Installing module from requirements file...')
269275
installer.install_requirements_file()
270276
lgr.info('Installing external modules...')

0 commit comments

Comments
 (0)