forked from PyPSA/linopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
76 lines (70 loc) · 1.81 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Mar 10 11:04:43 2021.
@author: fabulous
"""
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="linopy",
author="Fabian Hofmann",
author_email="[email protected]",
description="Linear optimization with N-D labeled arrays in Python",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/PyPSA/linopy",
license="MIT",
packages=find_packages(exclude=["doc", "test"]),
include_package_data=True,
python_requires="~=3.8",
install_requires=[
"numpy",
"scipy",
"bottleneck",
"toolz",
"numexpr",
"xarray>=2022.9.0",
"dask>=0.18.0",
"tqdm",
"deprecation",
],
extras_require={
"docs": [
"ipython",
"numpydoc",
"sphinx",
"sphinx_rtd_theme",
"sphinx_book_theme",
"nbsphinx",
"nbsphinx-link",
"gurobipy",
"ipykernel",
"matplotlib",
],
"dev": [
"pytest",
"pytest-cov",
"pre-commit",
"paramiko",
"gurobipy",
"highspy",
],
"solvers": [
"gurobipy",
"highspy",
"cplex",
"xpress",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: OS Independent",
],
)