-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
44 lines (39 loc) · 1.61 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import platform
import os
from setuptools import setup, find_namespace_packages
# Ensure user has the correct Python version
if sys.version_info < (3, 6):
print("Mathics support Python 3.6 and above; you have %d.%d" % sys.version_info[:2])
sys.exit(-1)
# stores __version__ in the current namespace
exec(compile(open("pymathics/matplotlib/version.py").read(), "version.py", "exec"))
is_PyPy = platform.python_implementation() == "PyPy"
setup(
name="pymathics-matplotlib",
version=__version__,
packages=find_namespace_packages(include=["pymathics.*"]),
install_requires=["mathics3>=1.1.0", "matplotlib"],
# don't pack Mathics in egg because of media files, etc.
zip_safe=False,
# metadata for upload to PyPI
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Interpreters",
],
# TODO: could also include long_description, download_url,
)