Include scripts in package: chef + orchestrator
Add the 'data_files' and 'scripts' directives to the setup() call in setup.py so as to make setuptools include the chef scripts and orchestrator script in the package and install them in locations suitable for the current code. Change-Id: Iad2ca28224a60ec0cb23dcbb0f0b23fa8801f513 Closes-bug: #1226153
This commit is contained in:
parent
e19ee84e50
commit
45d73ca7b6
9
setup.py
9
setup.py
|
@ -20,4 +20,13 @@ setup(
|
|||
"python-novaclient>=2.13.0",
|
||||
"IPython>=0.13.2",
|
||||
],
|
||||
data_files=[('bin', ['bin/configure_knife.sh',
|
||||
'bin/install_chefserver.sh',
|
||||
'bin/pre_install_chefserver.sh',
|
||||
'bin/pre_install_ovs.sh',
|
||||
'bin/pre_switch_kernel.sh',
|
||||
'bin/setup_chef_repo.sh',
|
||||
'bin/userdata.sh.template',
|
||||
])],
|
||||
scripts=['bin/orchestrator'],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue