Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 1 | From 24a901fd17926e8e05be4ed2e01b0113a2e3a852 Mon Sep 17 00:00:00 2001 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | From: Derek Straka <derek@asterius.io> |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 3 | Date: Tue, 19 Dec 2017 11:36:39 -0500 |
| 4 | Subject: [PATCH] [PATCH 1/1] setup.py: remove the setup_requires for |
| 5 | setuptools-scm |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 6 | |
| 7 | The setup_requires argument forces the download of the egg file for setuptools-scm |
| 8 | during the do_compile phase. This download is incompatible with the typical fetch |
| 9 | and mirror structure. The only usage of scm is the generation of the _version.py |
| 10 | file and in the release tarball it is already correctly created |
| 11 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 12 | Upstream-Status: Inappropriate [oe specific] |
| 13 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 14 | Signed-off-by: Derek Straka <derek@asterius.io> |
| 15 | --- |
| 16 | setup.py | 1 - |
| 17 | 1 file changed, 1 deletion(-) |
| 18 | |
| 19 | diff --git a/setup.py b/setup.py |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 20 | index 3eb38ef..1163202 100644 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 21 | --- a/setup.py |
| 22 | +++ b/setup.py |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 23 | @@ -82,7 +82,6 @@ def main(): |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 24 | keywords="test unittest", |
| 25 | cmdclass={'test': PyTest}, |
| 26 | # the following should be enabled for release |
| 27 | - setup_requires=['setuptools-scm'], |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 28 | python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 29 | install_requires=install_requires, |
| 30 | extras_require=extras_require, |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 31 | -- |
| 32 | 2.7.4 |