-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
100 lines (93 loc) · 3.07 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
# Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# See AUTHORS.txt
# This Source Code Form is subject to the terms of the Mozilla Public License, version 2.0.
# If a copy of the Mozilla Public License, version 2.0 was not distributed with this file,
# you can obtain one at http://mozilla.org/MPL/2.0/.
# SPDX-License-Identifier: MPL-2.0
# This file is part of leap_net, leap_net a keras implementation of the LEAP Net model.
import setuptools
from setuptools import setup
__version__ = '0.1.0'
pkgs = {
"required": [
"numpy==1.21.5",
"scikit_learn",
"tqdm",
"matplotlib",
"scipy",
"six",
"pathlib",
"numba",
],
"extras": {
"recommended": [
"grid2op>=1.7.2",
"pybind11==2.8.1",
"lightsim2grid>=0.7.0.post1",
"leap_net @ https://github.com/BDonnot/leap_net/tarball/master#egg=leap_net",
"protobuf==3.20.1",
"pandapower==2.7.0",
"pandas",
"jupyter",
"tensorflow==2.8.0",
"torch",
],
"docs": [
"numpydoc>=0.9.2",
"sphinx>=2.4.4",
"sphinx-rtd-theme>=0.4.3",
"sphinxcontrib-trio>=1.1.0",
"autodocsumm>=0.1.13",
"gym>=0.17.2"
],
"test": [
"pytest",
"pytest-cov",
"pytest-html",
"pytest-metadata",
"ipykernel",
"pylint",
"pylint-exit",
"jupytext"
]
}
}
pkgs["extras"]["test"] += pkgs["extras"]["recommended"]
pkgs["extras"]["test"] += pkgs["extras"]["docs"]
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(name='lips',
version=__version__,
description='LIPS : Learning Industrial Physical Simulation benchmark suite',
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Natural Language :: English"
],
keywords='Physical system solver, augmented simulator, benchmarking',
author='Milad Leyli-abadi',
author_email='milad.leyli-abadi@irt-systemx.fr',
url="https://github.com/Mleyliabadi/LIPS",
license='MPL',
packages=setuptools.find_packages(),
include_package_data=True,
package_data={
# If any package contains *.txt or *.rst files, include them:
"": ["*.ini"],
},
install_requires=pkgs["required"],
extras_require=pkgs["extras"],
zip_safe=False,
entry_points={
'console_scripts': []
}
)