-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
80 lines (73 loc) · 2.09 KB
/
setup.py
File metadata and controls
80 lines (73 loc) · 2.09 KB
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
from setuptools import setup, find_packages
from pathlib import Path
setup_requirements = []
cwd = Path(__file__).parent
long_description = (cwd / "README.md").read_text()
test_requirements = [
"black>=22.3.0",
"flake8>=4.0.0",
"codecov>=2.1.4",
"pytest>=8.1.1",
"pytest-cov>=3.0.0",
"pytest-html>=3.1.1",
]
dev_requirements = [
*setup_requirements,
*test_requirements,
"Sphinx==7.0.1",
"sphinx-rtd-theme==2.0.0",
"tox>=3.24.5",
"matplotlib>=3.8.4",
"ipykernel",
"joblib>=1.3.2",
]
requirements = [
"pandas>=2.2.1",
"numpy>=1.26.4",
"cvxpy>=1.3.0",
"pyomo>=6.7",
"gurobipy>=11.0",
"pint>=0.19.2",
"matplotlib>=3.8.4",
"ipykernel",
"electric-emission-cost>=0.0.1"
]
extra_requirements = {
"setup": setup_requirements,
"test": test_requirements,
"dev": dev_requirements,
"all": [
*requirements,
*dev_requirements,
],
}
setup(
author="WE3Lab",
author_email="raoak@stanford.edu",
url="https://github.com/we3lab/flex-limits",
name="flex_limits",
version="0.0.1",
description="Analysis to understand the upper bound of benefits from flexibility for industrial loads",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(exclude=["tests", "tests.*"]),
install_requires=requirements,
extras_require=extra_requirements,
setup_requires=setup_requirements,
tests_require=test_requirements,
test_suite="tests",
include_package_data=True,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
keywords="flexibility, limits, industrial loads, optimization",
python_requires=">=3.9,<=3.13",
)