-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
85 lines (80 loc) · 2.63 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
from setuptools import setup, find_packages
from pathlib import Path
lines = Path(".").joinpath("__init__.py")
version = "0.1"
for line in lines.read_text().split("\n"):
if line.startswith("__version__ ="):
version = line.split(" = ")[-1].strip('"')
break
setup(
name="eConnect",
version=version,
python_requires=">=3.7",
author="Sebastian Schwindt",
author_email="sebastian.schwindt@iws.uni-stuttgart.de",
url="https://github.com/sschwindt/econnect",
project_urls={
"Documentation": "https://econnect.readthedocs.io/",
"Funding": "https://www.uni-stuttgart.de/",
"Source": "https://github.com/sschwindt/econnect",
},
# this should be a whitespace separated string of keywords, not a list
keywords="rivers connectivity ecology Rhine Yellow DFG NSFC",
description="Hydro-morphodynamic connectivity and ecosystem design in a changing environment",
license="BSD License",
long_description=Path("./README.md").read_text(),
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=[
"pyyaml",
"docutils>=0.15",
"sphinx",
"click",
"pydata-sphinx-theme~=0.4.1",
"beautifulsoup4",
"importlib-resources~=3.0.0",
],
include_package_data=True,
extras_require={
"code_style": ["pre-commit~=2.7.0"],
"sphinx": [
"folium",
"numpy",
"matplotlib",
"ipywidgets",
"pandas",
"nbclient",
"myst-nb~=0.10.1",
"sphinx-togglebutton>=0.2.1",
"sphinx-copybutton",
"plotly",
"sphinxcontrib-bibtex",
"sphinx-thebe",
"ablog~=0.10.11",
],
"testing": [
"myst_nb~=0.10.1",
"sphinx_thebe",
"coverage",
"pytest~=6.0.1",
"pytest-cov",
"pytest-regressions~=2.0.1",
],
"live-dev": ["sphinx-autobuild", "web-compile~=0.2.1"],
},
entry_points={
"sphinx.html_themes": ["sphinx_book_theme = sphinx_book_theme"],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Development Status :: 2 - Pre-Alpha",
],
)