Use setuptools-git plugin for MANIFEST.

Instead of a hard-coded MANIFEST.in to list non-code files to be included in
the tarball, use the setuptools-git plugin to ensure that every file that's
in git will wind up in the tarball. The only things needed in MANIFEST.in
now are files that are generated as part of the sdist run.

Change-Id: I76df685d58f7b56977d859e8df92e845f450b3e4
This commit is contained in:
Monty Taylor 2012-06-24 17:32:31 -05:00
parent 258f26fc79
commit 204a42c76f
4 changed files with 7 additions and 50 deletions

View File

@ -1,51 +1,6 @@
include HACKING.rst
include LICENSE run_tests.sh
include README.rst
include MANIFEST.in pylintrc Authors
include openstack-common.conf
include babel.cfg tox.ini
include Authors
include ChangeLog
graft nova/CA
graft doc
graft smoketests
graft tools
graft etc
graft contrib
graft plugins
graft nova/api/openstack/*/schemas
include nova/auth/*.schema
include nova/auth/novarc.template
include nova/auth/opendj.sh
include nova/auth/slap.sh
include nova/cloudpipe/bootscript.sh
include nova/cloudpipe/client.ovpn.template
include nova/cloudpipe/bootscript.template
include nova/compute/fakevirtinstance.xml
include nova/compute/interfaces.template
include nova/console/xvp.conf.template
include nova/db/sqlalchemy/migrate_repo/migrate.cfg
include nova/db/sqlalchemy/migrate_repo/README
include nova/db/sqlalchemy/migrate_repo/versions/*.sql
include nova/openstack/common/README
include nova/virt/interfaces.template
include nova/testing/README.rst
include nova/tests/CA/
include nova/tests/CA/cacert.pem
include nova/tests/CA/private/
include nova/tests/CA/private/cakey.pem
include nova/tests/bundle/
include nova/tests/bundle/1mb.manifest.xml
include nova/tests/bundle/1mb.no_kernel_or_ramdisk.manifest.xml
include nova/tests/bundle/1mb.part.0
include nova/tests/bundle/1mb.part.1
include nova/tests/api/ec2/public_key/*
include nova/tests/image/*.tar.gz
include nova/tests/policy.json
include nova/tests/test_migrations.conf
include nova/tests/xenapi/vm_rrd.xml
include plugins/xenapi/README
include plugins/xenapi/etc/xapi.d/plugins/objectstore
include plugins/xenapi/etc/xapi.d/plugins/pluginlib_nova.py
global-exclude *.pyc
exclude .gitignore
exclude .gitreview
recursive-include nova/locale *
global-exclude *.pyc

View File

@ -72,6 +72,7 @@ setuptools.setup(name='nova',
packages=setuptools.find_packages(exclude=['bin', 'smoketests']),
include_package_data=True,
test_suite='nose.collector',
setup_requires=['setuptools_git>=0.4'],
scripts=['bin/nova-all',
'bin/nova-api',
'bin/nova-api-ec2',

View File

@ -23,3 +23,4 @@ pycrypto
Babel>=0.9.6
iso8601>=0.1.4
httplib2
setuptools_git>=0.4

View File

@ -19,7 +19,7 @@ downloadcache = ~/cache/pip
[testenv:pep8]
deps = pep8==1.1
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc .
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*egg .
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1