-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
92 lines (80 loc) · 3.15 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
"""This file is part of DING0, the DIstribution Network GeneratOr.
DING0 is a tool to generate synthetic medium and low voltage power
distribution grids based on open data.
It is developed in the project open_eGo: https://openegoproject.wordpress.com
DING0 lives at github: https://github.com/openego/ding0/
The documentation is available on RTD: http://ding0.readthedocs.io"""
__copyright__ = "Reiner Lemoine Institut gGmbH"
__license__ = "GNU Affero General Public License Version 3 (AGPL-3.0)"
__url__ = "https://github.com/openego/ding0/blob/master/LICENSE"
__author__ = "nesnoj, gplssm"
from setuptools import find_packages, setup
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
with open('requirements.txt') as f:
requirements = f.read().splitlines()
with open('dev_requirements.txt') as f:
dev_requirements = f.read().splitlines()
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
setup(name='ding0',
version='v0.2.1',
author='Reiner Lemoine Institut',
author_email='jonathan.amme@rl-institut.de',
description='DIstribution Network GeneratOr',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/openego/ding0',
license='GNU AGPLv3',
packages=find_packages(),
install_requires=requirements,
package_data={
'ding0': [
os.path.join('config',
'*.cfg'),
os.path.join('data',
'*.csv'),
os.path.join('grid',
'mv_grid',
'tests',
'testcases',
'*.vrp'),
os.path.join('grid',
'mv_grid',
'tests',
'testcases',
'Augerat',
'*.vrp'),
os.path.join('grid',
'mv_grid',
'tests',
'testcases',
'Augerat-tcc',
'*.vrp'),
os.path.join('grid',
'mv_grid',
'tests',
'testcases',
'Takes-tcc',
'*.vrp'),
os.path.join('grid',
'mv_grid',
'tests',
'testcases',
'Vigo',
'*.vrp'),
]},
extras_require={
'dev': dev_requirements},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering"],
)