-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
109 lines (97 loc) · 2.89 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
import codecs
import os.path
from setuptools import find_packages, setup
def read(rel_path):
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, rel_path), "r") as fp:
return fp.read()
def get_version(rel_path):
for line in read(rel_path).splitlines():
if line.startswith("__version__"):
delim = '"' if '"' in line else "'"
return line.split(delim)[1]
else:
raise RuntimeError("Unable to find version string.")
__author__ = [
"Johannes Kochems",
"Yannick Werner",
]
__copyright__ = "Copyright 2024 pommes developer group"
__credits__ = [
"Benjamin Grosse",
"Carla Spiller",
"Christian Fraatz",
"Conrad Nicklisch",
"Daniel Peschel",
"Dr. Johannes Giehl",
"Dr. Paul Verwiebe",
"Fabian Büllesbach",
"Sophie Westphal",
"Flora von Mikulicz-Radecki",
"Florian Maurer",
"Hannes Kachel",
"Julian Endres",
"Julien Faist",
"Leticia Encinas Rosa",
"Carla Spiller",
"Prof. Dr.-Ing. Joachim Müller-Kirchenbauer",
"Robin Claus",
"Sophie Westphal",
"Timona Ghosh"
]
__license__ = "MIT"
__maintainer__ = "Johannes Kochems"
__email__ = "[email protected]"
__status__ = "Production"
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="pommesinvest",
version=get_version("pommesinvest/__init__.py"),
description="A bottom-up fundamental investment model "
"for investments in the German electricity sector",
long_description=long_description,
keywords=[
"power market",
"fundamental model",
"investment",
"power price",
"oemof.solph",
],
url="https://github.com/pommes-public/pommesinvest/",
author=", ".join(__author__),
author_email=__email__,
license=__license__,
package_dir={"": ""},
packages=find_packages(where=""),
entry_points={
"console_scripts": [
"run_pommes_invest=pommesinvest.cli:run_pommes_invest"
],
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
project_urls={
"Documentation": "https://pommesinvest.readthedocs.io/",
"Changelog": (
"https://pommesinvest.readthedocs.io/en/latest/changelog.html"
),
"Issue Tracker": "https://github.com/pommes-public/pommesinvest/issues",
},
install_requires=[
"numpy",
"pandas",
"git+https://github.com/oemof/oemof-solph.git@feature/account-for-remaining-values-of-multi-period-investments",
"pyyaml",
],
python_requires=">=3.9",
extras_require={
"dev": ["pytest", "sphinx", "sphinx_rtd_theme", "sphinx_copybutton"]
},
include_package_data=True,
zip_safe=False,
)