-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (46 loc) · 1.36 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
45
46
47
48
import re
from setuptools import find_namespace_packages, setup
with open("README.rst") as fp:
long_description = fp.read()
long_description = re.sub(r".. (literalinclude|testsetup|toctree)::", "..\n comment",
long_description)
long_description = re.sub(".. doctest::", ".. code-block::", long_description)
long_description = re.sub(":(doc|class|func|ref):", ":code:", long_description)
setup(
name="gptools-stan",
long_description=long_description,
long_description_content_type="text/x-rst",
packages=find_namespace_packages(),
include_package_data=True,
version="0.1.5",
python_requires=">=3.8",
install_requires=[
# Required because of a bug in how complex numbers are handled (see
# https://github.com/stan-dev/cmdstanpy/pull/612).
"cmdstanpy>=1.0.7",
"numpy",
],
extras_require={
"docs": [
"myst-nb",
"networkx",
"openpyxl",
"pyproj",
"sphinx",
"sphinx-multiproject",
"sphinx_rtd_theme",
"sphinx-stan>=0.1.5",
],
"tests": [
"doit-interface",
"flake8",
"jupyter",
"matplotlib",
"pytest",
"pytest-cov",
"scipy",
"tabulate",
"twine",
],
}
)