Andrew Geissler | 706d5aa | 2021-02-12 15:55:30 -0600 | [diff] [blame^] | 1 | From ff784f4803ab33f5e3389e40d038d52d1e211843 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 2 | From: Yuan Chao <yuanc.fnst@cn.fujitsu.com> |
| 3 | Date: Wed, 28 Aug 2019 16:12:27 +0900 |
Andrew Geissler | 706d5aa | 2021-02-12 15:55:30 -0600 | [diff] [blame^] | 4 | Subject: [PATCH] [PATCH] setup.py: remove the setup_requires for |
| 5 | setuptools-scm |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [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 | |
| 12 | Upstream-Status: Inappropriate [oe specific] |
| 13 | |
| 14 | Signed-off-by: Derek Straka <derek@asterius.io> |
| 15 | |
| 16 | Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com> |
| 17 | |
| 18 | Rebase for pytest 6.1.0. |
| 19 | |
| 20 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 21 | --- |
| 22 | setup.cfg | 1 - |
| 23 | 1 file changed, 1 deletion(-) |
| 24 | |
| 25 | diff --git a/setup.cfg b/setup.cfg |
Andrew Geissler | 706d5aa | 2021-02-12 15:55:30 -0600 | [diff] [blame^] | 26 | index 60f6564..c4d1471 100644 |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 27 | --- a/setup.cfg |
| 28 | +++ b/setup.cfg |
Andrew Geissler | 706d5aa | 2021-02-12 15:55:30 -0600 | [diff] [blame^] | 29 | @@ -55,7 +55,6 @@ package_dir = |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 30 | =src |
| 31 | setup_requires = |
Andrew Geissler | 706d5aa | 2021-02-12 15:55:30 -0600 | [diff] [blame^] | 32 | setuptools>=40.0 |
| 33 | - setuptools-scm |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 34 | zip_safe = no |
| 35 | |
| 36 | [options.entry_points] |
Andrew Geissler | 706d5aa | 2021-02-12 15:55:30 -0600 | [diff] [blame^] | 37 | -- |
| 38 | 2.17.1 |
| 39 | |