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.

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

View File

@ -80,7 +80,10 @@ 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-all',
'bin/nova-api',
'bin/nova-api-ec2',
'bin/nova-api-metadata',
@ -97,8 +100,9 @@ setup(name='nova',
'bin/nova-rootwrap',
'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=[])