-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (49 loc) · 1.57 KB
/
Copy pathsetup.py
File metadata and controls
53 lines (49 loc) · 1.57 KB
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
45
46
47
48
49
50
51
52
53
from setuptools import setup, find_packages
import os
with open(os.path.join("inflationpy", "version.txt")) as file_handler:
__version__ = file_handler.read().strip()
CLASSIFIERS = """\
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
"""
if __name__ == "__main__":
setup(
name="inflationpy",
version=__version__,
author="Martin Vasar",
author_email="[email protected]",
keywords="cosmology scalar-tensor-theory cosmic-inflation",
packages=[package for package in find_packages() if package.startswith("inflationpy")],
package_data={"inflationpy": ["py.typed", "version.txt", "data/sigma1.dat", "data/sigma2.dat"]},
install_requires=[
"numpy",
"scipy",
"sympy",
"mpmath",
"matplotlib",
],
extras_require={
"tests": [
# Run tests
"pytest>=6.0",
# Linter
"flake8>=3.8",
# Reformat
"black",
],
"docs": [
"sphinx",
"sphinx-autobuild",
"sphinx-rtd-theme",
# For spelling
"sphinxcontrib.spelling",
# Type hints support
"sphinx-autodoc-typehints",
],
},
classifiers=[_f for _f in CLASSIFIERS.split("\n") if _f],
python_requires=">=3.7",
)