summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2012-06-24 17:32:31 -0500
committerMonty Taylor <mordred@inaugust.com>2012-06-28 07:42:48 -0700
commit204a42c76fe1d5af0a0036da436871aa2e442060 (patch)
tree06b0df22070429661b5541560f973f567c7da67c
parent258f26fc79a85af800aace1bedd558057ba42177 (diff)
downloadnova-204a42c76fe1d5af0a0036da436871aa2e442060.tar.gz
nova-204a42c76fe1d5af0a0036da436871aa2e442060.tar.xz
nova-204a42c76fe1d5af0a0036da436871aa2e442060.zip
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
-rw-r--r--MANIFEST.in53
-rw-r--r--setup.py1
-rw-r--r--tools/pip-requires1
-rw-r--r--tox.ini2
4 files changed, 7 insertions, 50 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
index 9050a4246..050ca7e0e 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -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
diff --git a/setup.py b/setup.py
index 4ff26d568..be7a36101 100644
--- a/setup.py
+++ b/setup.py
@@ -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',
diff --git a/tools/pip-requires b/tools/pip-requires
index 49c96051a..234c31a7b 100644
--- a/tools/pip-requires
+++ b/tools/pip-requires
@@ -23,3 +23,4 @@ pycrypto
Babel>=0.9.6
iso8601>=0.1.4
httplib2
+setuptools_git>=0.4
diff --git a/tox.ini b/tox.ini
index a68e37c6f..4e23f4cd1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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