forked from IDAES/idaes-pse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
149 lines (135 loc) · 3.84 KB
/
pyproject.toml
File metadata and controls
149 lines (135 loc) · 3.84 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools >= 64",
"setuptools_scm >= 8",
]
[project]
name = "idaes-pse"
description="IDAES Process Systems Engineering Framework"
readme = { file = "README.md", content-type = "text/markdown" }
maintainers = [
{ name = "Keith Beattie", email = "ksbeattie@lbl.gov" }
]
license = { text = "BSD" }
urls = { Homepage = "https://idaes.org" }
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords=["IDAES", "idaes-pse", "energy systems", "chemical engineering", "process modeling"]
version = "2.11.0dev0"
# dynamic = ["version"]
dependencies = [
"pyomo >= 6.9.3",
"pint >= 0.24.1", # required to use Pyomo units. Pint 0.24.1 needed for Python 3.9 support
"networkx", # required to use Pyomo network
"numpy>=1,<3",
"pandas!=2.1.0,<3", # pandas constraint added on 2023-08-30 b/c bug in v2.1. See IDAES/idaes-pse#1253
"scipy",
"sympy", # idaes.core.util.expr_doc
"matplotlib",
"click>=8",
]
[project.optional-dependencies]
ui = ["idaes-ui",]
coolprop = [
"coolprop>=7.0", # idaes.generic_models.properties.general.coolprop
]
grid = [
"gridx-prescient>=2.2.1", # idaes.tests.prescient
]
omlt = [
"omlt==1.1", # fix the version for now as package evolves
"tensorflow",
"onnx",
]
testing = [
"pytest",
"addheader",
"pyyaml",
]
# this will install all optional dependencies
all = ["idaes-pse[ui,grid,omlt,coolprop]"]
# we have to investigate why scm_tools is not working as expected
# [tool.setuptools_scm]
# # https://setuptools-scm.readthedocs.io/en/v8.1.0/extending/
# local_scheme = "node-and-date"
# version_scheme = "only-version"
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.pylint.main]
py-version = "3.10"
[tool.setuptools.packages.find]
include = ["idaes*"]
[tool.setuptools.package-data]
"*" = [
"*.template",
"*.json",
"*.yaml",
"*.svg",
"*.png",
"*.jpg",
"*.csv",
"*.ipynb",
"*.txt",
"*.js",
"*.css",
"*.html",
"*.json.gz",
"*.dat",
"*.h5",
"*.pb", # for Keras Surrogate folder
"*.data-00000-of-00001", # for Keras Surrogate folder
"*.index", # for Keras Surrogate folder
"*.trc",
"*.nl",
"*.keras", # idaes/core/surrogate/tests/data/keras_models
"*.onnx",
]
[project.scripts]
idaes = "idaes.commands.base:command_base"
[project.entry-points."idaes.flowsheets"]
"0D_Fixed_Bed_TSA" = "idaes.models_extra.temperature_swing_adsorption.fixed_bed_tsa0d_ui"
[tool.pylint."messages control"]
disable = [
"E", # all errors
"W", # all warnings
"C", # all conventions
"R", # all refactor
]
# see https://pylint.readthedocs.io/en/v2.17.7/user_guide/messages/index.html
# for a list of all messages
enable = [
"import-error",
"unused-import",
"wildcard-import",
"wrong-import-order",
"wrong-import-position",
"ungrouped-imports",
"implicit-str-concat",
"dangerous-default-value",
"invalid-name",
]
[tool.flake8]
ignore = ["W293","W291","W503","W504","E203"]
exclude = "tests"
max-line-length = 88