forked from OpenEnergyPlatform/open-MaStR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
81 lines (78 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
from setuptools import setup, find_packages
from os import path
import os
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="open_mastr",
packages=[
"open_mastr",
"open_mastr.soap_api",
"open_mastr.soap_api.metadata",
"open_mastr.utils",
"open_mastr.utils.config",
"open_mastr.xml_download",
],
version="0.13.1",
description="A package that provides an interface for downloading and"
" processing the data of the Marktstammdatenregister (MaStR)",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/OpenEnergyPlatform/open-MaStR",
download_url="https://github.com/OpenEnergyPlatform/open-MaStR/archive"
"/refs/tags/v0.13.1.tar.gz",
author="Open Energy Family",
author_email="datenzentrum@rl-institut.de",
maintainer="Ludwig Hülk",
maintainer_email="datenzentrum@rl-institut.de",
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
python_requires=">=3.8, <4", # 3.8 is needed for pandas 1.4
install_requires=[
"pandas>=1.4", # pandas 1.4 is needed for pd.read_xml
"numpy",
"sqlalchemy",
"psycopg2-binary",
"zeep",
"tqdm",
"requests",
"keyring",
"tqdm",
"beautifulsoup4",
"pyyaml",
"xmltodict",
],
extras_require={
"dev": [
"flake8",
"pylint",
"pytest",
"pytest-dependency",
"xmltodict",
"pre-commit",
"bump2version",
]
},
package_data={
"open_mastr": [
os.path.join("utils", "config", "*.yml"),
os.path.join("soap_api", "metadata", "LICENSE"),
]
},
project_urls={
"Documentation": "https://open-mastr.readthedocs.io/",
"Changelog": "https://open-mastr.readthedocs.io/en/latest/changelog.html",
"Issue Tracker": "https://github.com/OpenEnergyPlatform/open-MaStR/issues",
"Source": "https://github.com/OpenEnergyPlatform/open-MaStR",
},
)