Skip to content

Commit ebbedc3

Browse files
committed
Bump Mathics-Scanner version. Clean up for release
1 parent 715b6c7 commit ebbedc3

File tree

5 files changed

+12
-18
lines changed

5 files changed

+12
-18
lines changed

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
python setup.py install
3232
- name: Test Mathics
3333
run: |
34-
pip install -r requirements-extra.txt
34+
pip install -e .[full]
3535
pip install -r requirements-dev.txt
3636
set PYTEST_WORKERS="-n3"
3737
make check

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ develop:
3939

4040
#: Set up to run from the source tree with full dependencies
4141
develop-full:
42-
$(PIP) install -e .
43-
$(PIP) install -r requirements-extra.txt
42+
$(PIP) install -e .[full]
4443

4544

4645
#: Make distirbution: wheels, eggs, tarball
@@ -59,7 +58,8 @@ clean:
5958
rm mathics/*/*.so; \
6059
for dir in mathics/doc ; do \
6160
($(MAKE) -C "$$dir" clean); \
62-
done;
61+
done; \
62+
rm -f factorials || true
6363

6464
#: Run py.test tests. Use environment variable "o" for pytest options
6565
pytest:

admin-tools/check-versions.sh

100644100755
File mode changed.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Optional packages which add functionality or speed things up
2-
psutil #
2+
psutil # SystemMemory and MemoryAvailable
33
scikit-image # FindMinimum can use this
44
lxml # for HTML parsing used in builtin/fileformats/html
55
wordcloud # Used in builtin/image.py by WordCloud()

setup.py

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,27 +46,27 @@ def read(*rnames):
4646
# stores __version__ in the current namespace
4747
exec(compile(open("mathics/version.py").read(), "mathics/version.py", "exec"))
4848

49-
# Get/set VERSION and long_description from files
5049
long_description = read("README.rst") + "\n"
5150

5251

5352
is_PyPy = platform.python_implementation() == "PyPy"
5453

55-
INSTALL_REQUIRES = []
54+
INSTALL_REQUIRES = ["Mathics-Scanner >= 1.2.1,<1.3.0"]
55+
5656
# stores __version__ in the current namespace
5757
exec(compile(open("mathics/version.py").read(), "mathics/version.py", "exec"))
5858

5959
extras_require = []
60-
for line in open("requirements-extra.txt").read().split("\n"):
60+
for line in open("requirements-full.txt").read().split("\n"):
6161
if line and not line.startswith("#"):
6262
requires = re.sub(r"([^#]+)(\s*#.*$)?", r"\1", line)
6363
extras_require.append(requires)
6464

6565
EXTRAS_REQUIRE = {"full": extras_require}
6666

67-
DEPENDENCY_LINKS = [
68-
"http://github.com/Mathics3/mathics-scanner/tarball/master#egg=Mathics_Scanner-1.0.0.dev"
69-
]
67+
DEPENDENCY_LINKS = []
68+
# "http://github.com/Mathics3/mathics-scanner/tarball/master#egg=Mathics_Scanner-1.0.0.dev"
69+
# ]
7070

7171
try:
7272
if is_PyPy:
@@ -102,19 +102,15 @@ def read(*rnames):
102102

103103
# General Requirements
104104
INSTALL_REQUIRES += [
105-
"Mathics_Scanner>=1.2.0,<1.3.0",
105+
"Mathics_Scanner>=1.2.1,<1.3.0",
106106
"sympy>=1.8, <= 1.9dev",
107107
"mpmath>=1.2.0",
108108
"numpy",
109109
"palettable",
110110
"pint",
111111
"python-dateutil",
112-
# "psutil", # for $SystemMemory
113112
"llvmlite",
114113
"requests",
115-
# lxml is an optional dependency for HTML parsing used in builtin/fileformats/html
116-
# "scikit-image", optional
117-
# "wordcloud", # Used in builtin/image.py by WordCloud()
118114
]
119115

120116

@@ -123,8 +119,6 @@ def subdirs(root, file="*.*", depth=10):
123119
yield root + "*/" * k + file
124120

125121

126-
mathjax_files = list(subdirs("media/js/mathjax/"))
127-
128122
setup(
129123
name="Mathics3",
130124
cmdclass=CMDCLASS,

0 commit comments

Comments
 (0)