forked from IDAES/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
150 lines (143 loc) · 3.69 KB
/
pyproject.toml
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
150
[build-system]
requires = [
"setuptools>=61",
"wheel",
"setuptools_scm[toml]"
]
build-backend = "setuptools.build_meta"
[project]
name = "idaes-examples"
description = "IDAES Process Systems Engineering Examples"
readme = "README.md"
version = "2.3.dev0"
license = {text="BSD"}
requires-python = ">=3.8"
authors = [
{name="The IDAES Project"},
{name="Dan Gunter", email="[email protected]"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
# Don't version setuptools, various bits complain
"setuptools",
# Pyomo
"pyomo>=6.5.0",
"jupyter",
"importlib_resources ; python_version < '3.9'", # importlib.resources.files()
]
keywords = ["IDAES", "energy systems", "chemical engineering", "process modeling"]
[project.optional-dependencies]
gui = [
# For the small embedded GUI
"PySimpleGUI~=4.60.4",
"tkhtmlview==0.1.1.post5",
"Markdown~=3.4.1",
]
omlt = [
# For Keras/OMLT
"omlt",
"tensorflow",
]
idaes = [
"idaes-pse", # installing IDAES (from release) is opt-in
]
testing = [
# parallel pytest
"pytest-xdist ~= 3.0.2",
# pytest reporting
"pytest-reportlog ~= 0.1.2",
"nbclient",
"nbmake",
]
# dependencies for building documentation
docs = [
"jupyter-book ~= 0.13.1",
# "jupyter-cache ~= 0.4.3",
"jupyter-cache",
# the older version of nbmake goes with the older
# version of nbclient, which is required by jupyter-cache
# "nbclient ~= 0.5.13",
"nbclient",
"nbformat",
# markdown in Sphinx
"myst-nb ~= 0.13.2",
"myst-parser ~= 0.15.2",
]
# For developers
dev = [
"idaes-examples[gui,testing,docs]",
# For jupyter notebook testing
"black[jupyter] ~= 22.8.0",
# For adding copyright headers (see addheader.yml and the readme)
"addheader >= 0.3.0",
"blessed ~= 1.20.0",
]
# For creating a package
packaging = [
"build",
"twine"
]
[project.urls]
github = "https://github.com/idaes/examples"
issues = "https://github.com/idaes/examples/issues"
[project.scripts]
idaesx = "idaes_examples.build:main"
[tool.setuptools]
include-package-data = true
zip-safe = false
[tool.setuptools.packages]
find = {namespaces = false}
[tool.setuptools.package-data]
idaes_examples = [
"*.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",
"*.xlsx", # idaes/dmf/tests/data_files - tabular import test files
"*.yml",
"*.yaml"
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--strict-markers"
markers = [
"unit",
"integration",
"component",
"needs_solver"
]
testpaths = "idaes_examples"