forked from PyPSA/PyPSA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (57 loc) · 1.66 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
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from codecs import open
from setuptools import find_packages, setup
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
setup(
name="pypsa",
version="0.26.3",
author="PyPSA Developers, see https://pypsa.readthedocs.io/en/latest/developers.html",
author_email="[email protected]",
description="Python for Power Systems Analysis",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/PyPSA/PyPSA",
license="MIT",
packages=find_packages(exclude=["doc", "test"]),
include_package_data=True,
python_requires=">=3.9",
install_requires=[
"numpy",
"scipy",
"pandas>=0.24",
"xarray",
"netcdf4",
"tables",
"pyomo>=5.7,<6.6.2",
"linopy>=0.2.1",
"matplotlib",
"geopandas>=0.9",
"networkx>=1.10",
"deprecation",
"validators",
],
extras_require={
"dev": ["pytest", "pypower", "pandapower", "scikit-learn"],
"cartopy": ["cartopy>=0.16"],
"docs": [
"numpydoc",
"sphinx",
"sphinx-book-theme",
"nbsphinx",
"nbsphinx-link",
"black",
"scikit-learn",
],
"gurobipy": ["gurobipy"],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
],
)