-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
executable file
·81 lines (75 loc) · 2.04 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
from os.path import dirname, join
import io
import re
from setuptools import find_packages, setup
__copyright__ = (
"Flensburg University of Applied Sciences, "
"Europa-Universität Flensburg, "
"Centre for Sustainable Energy Systems, "
"DLR-Institute for Networked Energy Systems"
)
__license__ = "GNU Affero General Public License Version 3 (AGPL-3.0)"
__author__ = (
"ulfmueller, wolfbunke, BartelsJ, ClaraBuettner, gnn, "
"simnh, lukasol, s3pp, MGlauer, kimvk, MarlonSchlemminger, "
"mariusves",
"CarlosEpia",
"KathiEsterl",
"pieterhexen",
"fwitte",
"AmeliaNadal",
)
def read(*names, **kwargs):
with io.open(
join(dirname(__file__), *names),
encoding=kwargs.get("encoding", "utf8"),
) as fh:
return fh.read()
setup(
name="eTraGo",
author="DLR VE, ZNES Flensburg",
author_email="",
description="electric transmission grid optimization",
long_description="{}".format(
re.compile("^.. start-badges.*^.. end-header", re.M | re.S).sub(
"", read("README.rst")
)
),
long_description_content_type="text/x-rst",
version="0.9.0",
url="https://github.com/openego/eTraGo",
license="GNU Affero General Public License Version 3 (AGPL-3.0)",
packages=find_packages(),
include_package_data=True,
install_requires=[
"geoalchemy2 >= 0.3.0",
"geopandas",
"keyring",
"loguru",
"matplotlib >= 3.0.3",
"oedialect",
"pandas < 2.2",
"pyomo < 6.6",
"pypsa == 0.26.2",
"rtree",
"saio",
"scikit-learn",
"setuptools >= 54.2.0",
"shapely",
"sqlalchemy < 2",
"tables",
"tilemapbase == 0.4.5",
"tsam",
],
extras_require={
"docs": [
"nbsphinx",
"numpydoc",
"sphinx >= 1.4",
"sphinx_rtd_theme",
],
"gurobipy": ["gurobipy"],
"cartopy": ["cartopy", "requests"],
},
package_data={"etrago": [join("tools", "*.json")]},
)