11[build-system ]
22build-backend = " setuptools.build_meta"
3- requires = [
4- " setuptools >= 64" ,
5- " setuptools_scm >= 8" ,
6- ]
3+ requires = [" setuptools >= 64" , " setuptools_scm >= 8" ]
74
85[project ]
96name = " idaes-pse"
10- description = " IDAES Process Systems Engineering Framework"
7+ description = " IDAES Process Systems Engineering Framework"
118readme = { file = " README.md" , content-type = " text/markdown" }
12- maintainers = [
13- { name = " Keith Beattie" , email = " ksbeattie@lbl.gov" }
14- ]
9+ maintainers = [{ name = " Keith Beattie" , email = " ksbeattie@lbl.gov" }]
1510license = { text = " BSD" }
1611urls = { Homepage = " https://idaes.org" }
17- classifiers = [
18- " Development Status :: 5 - Production/Stable" ,
19- " Intended Audience :: End Users/Desktop" ,
20- " Intended Audience :: Science/Research" ,
21- " License :: OSI Approved :: BSD License" ,
22- " Natural Language :: English" ,
23- " Operating System :: MacOS" ,
24- " Operating System :: Microsoft :: Windows" ,
25- " Operating System :: Unix" ,
26- " Programming Language :: Python" ,
27- " Programming Language :: Python :: 3" ,
28- " Programming Language :: Python :: 3.10" ,
29- " Programming Language :: Python :: 3.11" ,
30- " Programming Language :: Python :: 3.12" ,
31- " Programming Language :: Python :: 3.13" ,
32- " Programming Language :: Python :: Implementation :: CPython" ,
33- " Topic :: Scientific/Engineering :: Mathematics" ,
34- " Topic :: Scientific/Engineering :: Chemistry" ,
35- " Topic :: Software Development :: Libraries :: Python Modules" ,
12+ classifiers = [
13+ " Development Status :: 5 - Production/Stable" ,
14+ " Intended Audience :: End Users/Desktop" ,
15+ " Intended Audience :: Science/Research" ,
16+ " License :: OSI Approved :: BSD License" ,
17+ " Natural Language :: English" ,
18+ " Operating System :: MacOS" ,
19+ " Operating System :: Microsoft :: Windows" ,
20+ " Operating System :: Unix" ,
21+ " Programming Language :: Python" ,
22+ " Programming Language :: Python :: 3" ,
23+ " Programming Language :: Python :: 3.10" ,
24+ " Programming Language :: Python :: 3.11" ,
25+ " Programming Language :: Python :: 3.12" ,
26+ " Programming Language :: Python :: 3.13" ,
27+ " Programming Language :: Python :: Implementation :: CPython" ,
28+ " Topic :: Scientific/Engineering :: Mathematics" ,
29+ " Topic :: Scientific/Engineering :: Chemistry" ,
30+ " Topic :: Software Development :: Libraries :: Python Modules" ,
3631]
37- keywords =[" IDAES" , " idaes-pse" , " energy systems" , " chemical engineering" , " process modeling" ]
38- requires-python = " >=3.10"
32+ keywords = [
33+ " IDAES" ,
34+ " idaes-pse" ,
35+ " energy systems" ,
36+ " chemical engineering" ,
37+ " process modeling" ,
38+ ]
39+ # Minimum python version is not set since legacy projects or other edge cases may use or rely unsupported versions.
40+ # We will rely on classifiers and documentation to communicate supported versions.
41+ # requires-python = ">=3.10"
42+
3943version = " 2.11.0dev0"
40- # dynamic = ["version"]
44+
4145dependencies = [
4246 " pyomo >= 6.10.0" ,
43- " pint" ,
47+ " pint >= 0.24.1 " , # required to use Pyomo units. Pint 0.24.1 needed for Python 3.9 support ,
4448 " networkx" , # required to use Pyomo network
45- " numpy>=1,<3" ,
49+ " numpy>=1,<3" ,
4650 " pandas!=2.1.0,<3" , # pandas constraint added on 2023-08-30 b/c bug in v2.1. See IDAES/idaes-pse#1253
4751 " scipy" ,
48- " sympy" , # idaes.core.util.expr_doc
52+ " sympy" , # idaes.core.util.expr_doc
4953 " matplotlib" ,
5054 " click>=8" ,
51- " pydantic" # used by core.util.structfs, at a minimum
55+ " pydantic" , # used by core.util.structfs, at a minimum
5256]
5357
5458[project .optional-dependencies ]
55- ui = [
56- " idaes-ui" ,
57- " idaes-connectivity"
58- ]
59+ ui = [" idaes-ui" , " idaes-connectivity" ]
5960coolprop = [
6061 " coolprop>=7.0" , # idaes.generic_models.properties.general.coolprop
6162]
6263grid = [
6364 " gridx-prescient>=2.2.1" , # idaes.tests.prescient
6465]
6566omlt = [
66- " omlt==1.1" , # fix the version for now as package evolves
67+ " omlt==1.1" , # fix the version for now as package evolves
6768 " tensorflow" ,
6869 " onnx" ,
6970]
70- testing = [
71- " pytest" ,
72- " addheader" ,
73- " pyyaml" ,
74- ]
71+ testing = [" pytest" , " addheader" , " pyyaml" ]
7572
7673# this will install all optional dependencies
7774all = [" idaes-pse[ui,grid,omlt,coolprop]" ]
@@ -83,8 +80,8 @@ all = ["idaes-pse[ui,grid,omlt,coolprop]"]
8380# version_scheme = "only-version"
8481
8582[tool .setuptools ]
86- zip-safe = false
87- include-package-data = true
83+ zip-safe = false
84+ include-package-data = true
8885
8986
9087[tool .pylint .main ]
@@ -95,28 +92,28 @@ include = ["idaes*"]
9592
9693[tool .setuptools .package-data ]
9794"*" = [
98- " *.template" ,
99- " *.json" ,
100- " *.yaml" ,
101- " *.svg" ,
102- " *.png" ,
103- " *.jpg" ,
104- " *.csv" ,
105- " *.ipynb" ,
106- " *.txt" ,
107- " *.js" ,
108- " *.css" ,
109- " *.html" ,
110- " *.json.gz" ,
111- " *.dat" ,
112- " *.h5" ,
113- " *.pb" , # for Keras Surrogate folder
114- " *.data-00000-of-00001" , # for Keras Surrogate folder
115- " *.index" , # for Keras Surrogate folder
116- " *.trc" ,
117- " *.nl" ,
118- " *.keras" , # idaes/core/surrogate/tests/data/keras_models
119- " *.onnx" ,
95+ " *.template" ,
96+ " *.json" ,
97+ " *.yaml" ,
98+ " *.svg" ,
99+ " *.png" ,
100+ " *.jpg" ,
101+ " *.csv" ,
102+ " *.ipynb" ,
103+ " *.txt" ,
104+ " *.js" ,
105+ " *.css" ,
106+ " *.html" ,
107+ " *.json.gz" ,
108+ " *.dat" ,
109+ " *.h5" ,
110+ " *.pb" , # for Keras Surrogate folder
111+ " *.data-00000-of-00001" , # for Keras Surrogate folder
112+ " *.index" , # for Keras Surrogate folder
113+ " *.trc" ,
114+ " *.nl" ,
115+ " *.keras" , # idaes/core/surrogate/tests/data/keras_models
116+ " *.onnx" ,
120117]
121118
122119[project .scripts ]
@@ -149,6 +146,6 @@ enable = [
149146]
150147
151148[tool .flake8 ]
152- ignore = [" W293" ," W291" ," W503" ," W504" ," E203" ]
149+ ignore = [" W293" , " W291" , " W503" , " W504" , " E203" ]
153150exclude = " tests"
154- max-line-length = 88
151+ max-line-length = 88
0 commit comments