Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame^] | 1 | From e2d81009c790b4ebeced8408b6bae78060cabcaf Mon Sep 17 00:00:00 2001 |
| 2 | From: Derek Straka <derek@asterius.io> |
| 3 | Date: Wed, 5 Jul 2017 09:35:51 -0400 |
| 4 | Subject: [PATCH 1/1] setup.py: remove the setup_requires for setuptools-scm |
| 5 | |
| 6 | The setup_requires argument forces the download of the egg file for setuptools-scm |
| 7 | during the do_compile phase. This download is incompatible with the typical fetch |
| 8 | and mirror structure. The only usage of scm is the generation of the _version.py |
| 9 | file and in the release tarball it is already correctly created |
| 10 | |
| 11 | Signed-off-by: Derek Straka <derek@asterius.io> |
| 12 | --- |
| 13 | setup.py | 1 - |
| 14 | 1 file changed, 1 deletion(-) |
| 15 | |
| 16 | diff --git a/setup.py b/setup.py |
| 17 | index 751868c..ef6ebf1 100644 |
| 18 | --- a/setup.py |
| 19 | +++ b/setup.py |
| 20 | @@ -71,7 +71,6 @@ def main(): |
| 21 | keywords="test unittest", |
| 22 | cmdclass={'test': PyTest}, |
| 23 | # the following should be enabled for release |
| 24 | - setup_requires=['setuptools-scm'], |
| 25 | install_requires=install_requires, |
| 26 | extras_require=extras_require, |
| 27 | packages=['_pytest', '_pytest.assertion', '_pytest._code', '_pytest.vendored_packages'], |
| 28 | -- |
| 29 | 2.7.4 |