Add missing scripts to setup.py (lp#917676)

If distutils-extra is installed, all scripts are automatically included
in the tarball. We should explicitly include them in setup.py to avoid
confusion.

As an example, the 2011.3 tarballs appear to have been generated with
distutils-extra but the 2011.3.1/2012.1 tarballs are now being
generated in a venv. So, these newer tarballs are missing scripts which
were included in 2011.3.

(cherry picked from commit d72109e711)

Change-Id: I2a85418b84b93e041f6c7d31833b09acdcb29daa
This commit is contained in:
Mark McLoughlin 2012-01-17 15:07:58 +00:00
parent 3f5c2c2d3a
commit c7a9d522a3
1 changed files with 8 additions and 3 deletions

View File

@ -117,8 +117,12 @@ setup(name='nova',
include_package_data=True,
test_suite='nose.collector',
data_files=find_data_files('share/nova', 'tools'),
scripts=['bin/nova-ajax-console-proxy',
scripts=['bin/clear_rabbit_queues',
'bin/instance-usage-audit',
'bin/nova-ajax-console-proxy',
'bin/nova-api',
'bin/nova-api-ec2',
'bin/nova-api-os',
'bin/nova-compute',
'bin/nova-console',
'bin/nova-dhcpbridge',
@ -129,8 +133,9 @@ setup(name='nova',
'bin/nova-objectstore',
'bin/nova-scheduler',
'bin/nova-spoolsentry',
'bin/stack',
'bin/nova-volume',
'bin/nova-vncproxy',
'bin/nova-volume',
'bin/nova-vsa',
'bin/stack',
'tools/nova-debug'],
py_modules=[])