summaryrefslogtreecommitdiff
path: root/math/mathicsscript/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'math/mathicsscript/files/patch-setup.py')
-rw-r--r--math/mathicsscript/files/patch-setup.py20
1 files changed, 12 insertions, 8 deletions
diff --git a/math/mathicsscript/files/patch-setup.py b/math/mathicsscript/files/patch-setup.py
index 5eabeb92bdb3..e161ff81af87 100644
--- a/math/mathicsscript/files/patch-setup.py
+++ b/math/mathicsscript/files/patch-setup.py
@@ -1,13 +1,17 @@
---- setup.py.orig 2021-06-06 16:11:07 UTC
+--- setup.py.orig 2021-07-05 14:18:53 UTC
+++ setup.py
-@@ -47,10 +47,6 @@ exec(read("mathicsscript/version.py"))
+@@ -47,14 +47,6 @@ exec(read("mathicsscript/version.py"))
is_PyPy = platform.python_implementation() == "PyPy"
- dev_requires = []
--for line in open("requirements-dev.txt").read().split("\n"):
-- if line and not line.startswith("#"):
-- requires = re.sub(r"([^#]+)(\s*#.*$)?", r"\1", line)
-- dev_requires.append(requires)
-
+ EXTRAS_REQUIRE = {}
+-for kind in ("dev", "full"):
+- extras_require = []
+- requirements_file = f"requirements-{kind}.txt"
+- for line in open(requirements_file).read().split("\n"):
+- if line and not line.startswith("#"):
+- requires = re.sub(r"([^#]+)(\s*#.*$)?", r"\1", line)
+- extras_require.append(requires)
+- EXTRAS_REQUIRE[kind] = extras_require
setup(
+ maintainer="Mathics Group",