Skip to content

Commit

Permalink
Track changes in mathics-core
Browse files Browse the repository at this point in the history
setup.py: We need at least Python 3.8
.editorconfig: remove duplicate config line
__init__.py: add just in case
test_summary_text.py: import location has moved
  • Loading branch information
rocky committed Aug 3, 2024
1 parent 4824f84 commit 174fcea
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 4
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
|Pypi Installs| |Latest Version| |Supported Python Versions|

`Mathics <https://mathics.org>`_ Graph Module using `NetworkX <https://networkx.org/>`_ and `Matplotlib <https://matplotlib.org>`_
`Mathics3 <https://mathics.org>`_ Graph Module using `NetworkX <https://networkx.org/>`_ and `Matplotlib <https://matplotlib.org>`_

Example Session
---------------
Expand Down
Empty file added pymathics/__init__.py
Empty file.
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
from setuptools import setup, find_namespace_packages

# Ensure user has the correct Python version
if sys.version_info < (3, 7):
print("Mathics support Python 3.7 and above; you have %d.%d" % sys.version_info[:2])
if sys.version_info < (3, 8):
print("Mathics support Python 3.8 and above; you have %d.%d" % sys.version_info[:2])
sys.exit(-1)


Expand All @@ -22,17 +22,17 @@ def read(*rnames):


# stores __version__ in the current namespace
exec(compile(open("pymathics/graph/version.py").read(), "version.py", "exec"))
exec(compile(open("pymathics/graph/version.py").read(), "__version__.py", "exec"))
long_description = read("README.rst") + "\n"

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

setup(
name="pymathics-graph",
name="Mathics3-graph",
version=__version__, # noqa
packages=find_namespace_packages(include=["pymathics.*"]),
install_requires=[
"Mathics3>=7.0.0dev",
"Mathics3>=7.0.0dev0",
"networkx>=3.0.0",
"pydot",
"matplotlib",
Expand All @@ -50,10 +50,10 @@ def read(*rnames):
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Scientific/Engineering",
Expand Down
3 changes: 1 addition & 2 deletions test/consistency-and-style/test_summary_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@

from mathics.core.builtin import Builtin
from mathics.core.load_builtin import name_is_builtin_symbol
from mathics.doc.common_doc import skip_doc

from mathics.doc.gather import skip_doc

# Get file system path name for mathics.builtin
module_path = osp.dirname(module_initfile_path)
Expand Down

0 comments on commit 174fcea

Please sign in to comment.