Permalink
Browse files

Use setuptools-git to include files from the repo

Fixes bug 1029511.

Change-Id: I5aef29ad10ac73a9645111f993621d596321ffcf
  • Loading branch information...
1 parent 609cbce commit f78617803c9b34e52086b519ba5683f015418fda @malor malor committed Mar 19, 2013
Showing with 6 additions and 7 deletions.
  1. +3 −7 MANIFEST.in
  2. +2 −0 setup.py
  3. +1 −0 tox.ini
View
@@ -1,10 +1,6 @@
include AUTHORS
-include HACKING
-include LICENSE
-include README.rst
include ChangeLog
-include run_tests.sh tox.ini
include novaclient/versioninfo
-recursive-include doc *
-recursive-include tests *
-recursive-include tools *
+
+exclude .gitignore
+exclude .gitreview
View
@@ -35,6 +35,8 @@ def read_file(file_name):
packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
install_requires=setup.parse_requirements(),
cmdclass=setup.get_cmdclass(),
+ setup_requires=['setuptools_git>=0.4'],
+ include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
View
@@ -9,6 +9,7 @@ setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
+ setuptools_git>=0.4
commands = python setup.py testr --testr-args='{posargs}'
[testenv:pep8]

0 comments on commit f786178

Please sign in to comment.