summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Forrest <forrest@research.att.com>2013-09-18 14:19:36 -0700
committerAndrew Forrest <forrest@research.att.com>2013-09-18 14:45:49 -0700
commit45d73ca7b629004b5178d241c3a9032db69ba106 (patch)
treef895e42bb3043e81573eb8a62dfb1029e6ddcce2
parente19ee84e503eb0748083a86b3132d7c2d00410eb (diff)
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
Notes
Notes (review): Verified+2: Jenkins Approved+1: Changbin Liu <changbin.liu@gmail.com> Code-Review+2: Changbin Liu <changbin.liu@gmail.com> Code-Review+1: Scott Daniels <daniels@research.att.com> Submitted-by: Jenkins Submitted-at: Thu, 19 Sep 2013 15:47:44 +0000 Reviewed-on: https://review.openstack.org/47261 Project: stackforge/inception Branch: refs/heads/master
-rw-r--r--setup.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index d5a1269..6ac5358 100644
--- a/setup.py
+++ b/setup.py
@@ -20,4 +20,13 @@ setup(
20 "python-novaclient>=2.13.0", 20 "python-novaclient>=2.13.0",
21 "IPython>=0.13.2", 21 "IPython>=0.13.2",
22 ], 22 ],
23 data_files=[('bin', ['bin/configure_knife.sh',
24 'bin/install_chefserver.sh',
25 'bin/pre_install_chefserver.sh',
26 'bin/pre_install_ovs.sh',
27 'bin/pre_switch_kernel.sh',
28 'bin/setup_chef_repo.sh',
29 'bin/userdata.sh.template',
30 ])],
31 scripts=['bin/orchestrator'],
23) 32)