-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
39 lines (36 loc) · 1.39 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
import ast, re, io, os.path
from setuptools import setup
# determine version (adapted from mitsuhiko)
VERSION_RE = re.compile(r"__version__\s+=\s+(.*)")
with open("pyfermions/__init__.py", "rb") as f:
version = VERSION_RE.search(f.read().decode("utf-8")).group(1)
version = str(ast.literal_eval(version))
# read long description and convert to RST
long_description = io.open(
os.path.join(os.path.dirname(os.path.abspath(__file__)), "README.md"),
encoding="utf-8",
).read()
setup(
name="pyfermions",
version=version,
description="Rigorous free fermion entanglement renormalization from wavelet theory",
long_description=long_description,
long_description_content_type="text/markdown",
maintainer="Michael Walter",
maintainer_email="[email protected]",
url="https://github.com/qi-rub/pyfermions",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Mathematics",
],
packages=["pyfermions"],
install_requires=["matplotlib", "numpy", "scipy", "pandas", "jupyter"],
extras_require={
"dev": ["pytest", "wheel", "black", "twine", "jupyter_contrib_nbextensions"]
},
)