-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (28 loc) · 952 Bytes
/
setup.py
File metadata and controls
31 lines (28 loc) · 952 Bytes
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
#!/usr/bin/env python
"""
GDPlib open source model library for Generalized Disjunctive Programming
This file is maintained for backward compatibility.
Modern installations should use `pip install -e .` which will use pyproject.toml.
"""
import sys
from logging import warning
from setuptools import setup, find_packages
# For backward compatibility with legacy installations
# The actual project configuration is now in pyproject.toml
if __name__ == "__main__":
setup(
name="gdplib",
packages=find_packages(),
install_requires=[
"Pyomo>=5.6.1",
"setuptools>=39.0.1",
"pandas>=1.0.1",
"matplotlib>=2.2.2",
"scipy>=1.0.0",
"pint>=0.15.0",
"openpyxl>=3.0.0",
],
python_requires=">=3.9, <3.13",
# All other metadata is now in pyproject.toml
# This setup.py is maintained only for backward compatibility
)