45d73ca7b6
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
33 lines
1.1 KiB
Python
33 lines
1.1 KiB
Python
#!/usr/bin/env python
|
|
# Copyright (c) 2013 AT&T. All right reserved.
|
|
|
|
from setuptools import find_packages
|
|
from setuptools import setup
|
|
|
|
# move version string out of setup so it is readily available to others
|
|
from inception import __version__
|
|
|
|
setup(
|
|
name='inception',
|
|
version=__version__,
|
|
description="Inception: Towards a Nested Cloud Architecture",
|
|
license="Apache 2.0",
|
|
classifiers=["Programming Language :: Python"],
|
|
url='https://github.com/stackforge/inception',
|
|
packages=find_packages(),
|
|
install_requires=[
|
|
"oslo.config>=1.1.1",
|
|
"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'],
|
|
)
|