diff --git a/MANIFEST.in b/MANIFEST.in index 409334c50e..74fc557861 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,29 +1,7 @@ -include HACKING.rst -include README LICENSE TESTING AUTHORS -include run_tests.py run_tests.sh -include .pylintrc -include openstack-common.conf -include bin/* -graft doc/* -include doc/Makefile doc/pom.xml -include etc/* -include etc/init.d/* -include etc/quantum/plugins/openvswitch/*.ini -include etc/quantum/plugins/cisco/*.ini -include etc/quantum/plugins/cisco/quantum.conf.ciscoext -include etc/quantum/plugins/linuxbridge/*.ini -include etc/quantum/plugins/nicira/* -include etc/quantum/plugins/ryu/*.ini -include quantum/plugins/*/README -include quantum/plugins/cisco/services/README -include quantum/plugins/nicira/nicira_nvp_plugin/* -include quantum/plugins/nicira/nicira_nvp_plugin/tests/* -include quantum/plugins/openvswitch/Makefile -include quantum/plugins/openvswitch/tests/unit/*.txt -include quantum/plugins/openvswitch/agent/xenserver_install.sh -include tools/build_debs.sh -include tools/clean.sh -include tools/pip-requires tools/test-requires -include tools/rfc.sh -include tools/with_venv.sh -include tox.ini +include AUTHORS +include ChangeLog + +exclude .gitignore +exclude .gitreview + +global-exclude *.pyc diff --git a/setup.py b/setup.py index e046a1ae81..5cd63da393 100644 --- a/setup.py +++ b/setup.py @@ -82,6 +82,7 @@ setuptools.setup( install_requires=requires, dependency_links=depend_links, include_package_data=False, + setup_requires=['setuptools_git>=0.4'], packages=setuptools.find_packages('.'), cmdclass=setup.get_cmdclass(), data_files=DataFiles, diff --git a/tools/install_venv.py b/tools/install_venv.py index a8314f5df5..30ced96a3c 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -97,6 +97,8 @@ def install_dependencies(venv=VENV): PIP_REQUIRES], redirect_output=False) run_command(['tools/with_venv.sh', 'pip', 'install', '-r', TEST_REQUIRES], redirect_output=False) + run_command(['tools/with_venv.sh', 'pip', 'install', + 'setuptools_git>=0.4'], redirect_output=False) # Tell the virtual env how to "import quantum" pthfile = os.path.join(venv, "lib", PY_VERSION, "site-packages", diff --git a/tox.ini b/tox.ini index 0d3d4d139a..3a5cf4573e 100644 --- a/tox.ini +++ b/tox.ini @@ -11,6 +11,7 @@ setenv = VIRTUAL_ENV={envdir} NOSE_OPENSTACK_STDOUT=1 deps = -r{toxinidir}/tools/pip-requires -r{toxinidir}/tools/test-requires + setuptools_git>=0.4 commands = nosetests {posargs} [tox:jenkins] @@ -19,7 +20,8 @@ downloadcache = ~/cache/pip [testenv:pep8] deps = pep8 -commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc . + setuptools_git>=0.4 +commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*egg . [testenv:cover] setenv = NOSE_WITH_COVERAGE=1