Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Include scripts in package: chef + orchestrator
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Andrew Forrest committed Sep 18, 2013
1 parent e19ee84 commit 45d73ca
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions setup.py
Expand Up @@ -20,4 +20,13 @@
"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'],
)

0 comments on commit 45d73ca

Please sign in to comment.