forked from williamhunter/topy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (26 loc) · 771 Bytes
/
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
#!/usr/bin/env python
"""
ToPy install script.
Install ToPy through `python setup.py install`.
"""
import json
import setuptools
# Get metadata.
with open("metadata.json", "r") as f:
metadata = json.load(f)
# Get project description.
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
long_description=long_description,
long_description_content_type="text/markdown",
packages=["topy", "topy.data"],
install_requires=['typing', 'pathlib', 'matplotlib', 'sympy', 'numpy<=1.14', 'pyvtk', 'pysparse'],
classifiers=[
"Programming Language :: Python :: 2",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='~=2.7',
**metadata
)