summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-06-28 21:38:53 +0000
committerGerrit Code Review <review@openstack.org>2012-06-28 21:38:53 +0000
commit1a2a3519eeffa65be910ef321078192e5e56a80c (patch)
tree240d33e840eb0a481e37b375c875203862ebffb1
parent96d5c1ef8ce3c9525acbf3a00fc609f65c1e7d4c (diff)
parent204a42c76fe1d5af0a0036da436871aa2e442060 (diff)
downloadnova-1a2a3519eeffa65be910ef321078192e5e56a80c.tar.gz
Merge "Use setuptools-git plugin for MANIFEST."
-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 9050a42461..050ca7e0ea 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 37988acf72..0f71ec2e8b 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 49c96051a6..234c31a7bb 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 49d2186005..08aa9686ac 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,7 +18,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