@@ -7,90 +7,97 @@ requires = [
7
7
build-backend = " setuptools.build_meta"
8
8
9
9
[project ]
10
- name = " idaes_examples"
11
- description = " IDAES Process Systems Engineering Examples"
12
- readme = " README.md"
13
- version = " 2.0.0a2"
14
- license = {text =" BSD" }
15
- requires-python = " >=3.7"
16
- authors = [
17
- {name =" The IDAES Project" },
18
- {
name =
" Dan Gunter" ,
email =
" [email protected] " }
19
- ]
20
- classifiers = [
21
- " Development Status :: 3 - Alpha" ,
22
- " Intended Audience :: End Users/Desktop" ,
23
- " Intended Audience :: Science/Research" ,
24
- " License :: OSI Approved :: BSD License" ,
25
- " Natural Language :: English" ,
26
- " Operating System :: MacOS" ,
27
- " Operating System :: Microsoft :: Windows" ,
28
- " Operating System :: Unix" ,
29
- " Programming Language :: Python" ,
30
- " Programming Language :: Python :: 3" ,
31
- " Programming Language :: Python :: 3.7" ,
32
- " Programming Language :: Python :: 3.8" ,
33
- " Programming Language :: Python :: 3.9" ,
34
- " Programming Language :: Python :: 3.10" ,
35
- " Programming Language :: Python :: Implementation :: CPython" ,
36
- " Topic :: Scientific/Engineering :: Mathematics" ,
37
- " Topic :: Scientific/Engineering :: Chemistry" ,
38
- " Topic :: Software Development :: Libraries :: Python Modules" ,
39
- ]
40
- dependencies = [
41
- # Don't version setuptools, various bits complain
42
- " setuptools" ,
43
- # Get IDAES from last release. NOTE: [dev] overrides this!
44
- " idaes-pse" ,
45
- # Pyomo
46
- " pyomo>=6.5.0" ,
47
- # For the small embedded GUI
48
- " PySimpleGUI~=4.60.4" ,
49
- " tkhtmlview==0.1.1.post5" ,
50
- " Markdown~=3.4.1" ,
51
- # For Keras/OMLT
52
- " tensorflow"
53
- ]
54
- keywords = [" IDAES" , " energy systems" , " chemical engineering" , " process modeling" ]
10
+ name = " idaes-examples"
11
+ description = " IDAES Process Systems Engineering Examples"
12
+ readme = " README.md"
13
+ version = " 2.0.0a2"
14
+ license = {text =" BSD" }
15
+ requires-python = " >=3.8"
16
+ authors = [
17
+ {name =" The IDAES Project" },
18
+ {
name =
" Dan Gunter" ,
email =
" [email protected] " }
19
+ ]
20
+ classifiers = [
21
+ " Development Status :: 3 - Alpha" ,
22
+ " Intended Audience :: End Users/Desktop" ,
23
+ " Intended Audience :: Science/Research" ,
24
+ " License :: OSI Approved :: BSD License" ,
25
+ " Natural Language :: English" ,
26
+ " Operating System :: MacOS" ,
27
+ " Operating System :: Microsoft :: Windows" ,
28
+ " Operating System :: Unix" ,
29
+ " Programming Language :: Python" ,
30
+ " Programming Language :: Python :: 3" ,
31
+ " Programming Language :: Python :: 3.8" ,
32
+ " Programming Language :: Python :: 3.9" ,
33
+ " Programming Language :: Python :: 3.10" ,
34
+ " Programming Language :: Python :: 3.11" ,
35
+ " Programming Language :: Python :: Implementation :: CPython" ,
36
+ " Topic :: Scientific/Engineering :: Mathematics" ,
37
+ " Topic :: Scientific/Engineering :: Chemistry" ,
38
+ " Topic :: Software Development :: Libraries :: Python Modules" ,
39
+ ]
40
+ dependencies = [
41
+ # Don't version setuptools, various bits complain
42
+ " setuptools" ,
43
+ # Pyomo
44
+ " pyomo>=6.5.0" ,
45
+ " jupyter" ,
46
+ " importlib_resources ; python_version < '3.9'" , # importlib.resources.files()
47
+ ]
48
+ keywords = [" IDAES" , " energy systems" , " chemical engineering" , " process modeling" ]
55
49
56
50
[project .optional-dependencies ]
57
- # Just for developers (they should also add 'jb')
58
- dev = [
59
- # IDAES
60
- # -- for development, use github main
61
- # NOTE: Need to manually comment this out when building the package
62
- # "idaes-pse @ git+https://github.com/IDAES/idaes-pse",
51
+ gui = [
52
+ # For the small embedded GUI
53
+ " PySimpleGUI~=4.60.4" ,
54
+ " tkhtmlview==0.1.1.post5" ,
55
+ " Markdown~=3.4.1" ,
56
+ ]
57
+ omlt = [
58
+ # For Keras/OMLT
59
+ " omlt" ,
60
+ " tensorflow" ,
61
+ ]
62
+ idaes = [
63
+ " idaes-pse" , # installing IDAES (from release) is opt-in
64
+ ]
65
+ testing = [
63
66
# parallel pytest
64
67
" pytest-xdist ~= 3.0.2" ,
65
68
# pytest reporting
66
69
" pytest-reportlog ~= 0.1.2" ,
67
- # For jupyter notebook testing
68
- " black[jupyter] ~= 22.8.0" ,
69
- # For adding copyright headers (see addheader.yml and the readme)
70
- " addheader >= 0.3.0" ,
71
- # For the idaesx new terminal UI
72
- " blessed ~= 1.20.0"
73
- ]
74
- # For packaging
75
- pkg = [
76
- " build" ,
77
- " twine"
70
+ " nbclient" ,
71
+ " nbmake" ,
78
72
]
79
- # For Jupyterbook (e.g. readthedocs builds)
80
- jb = [
73
+ # dependencies for building documentation
74
+ docs = [
81
75
" jupyter-book ~= 0.13.1" ,
82
76
# "jupyter-cache ~= 0.4.3",
83
77
" jupyter-cache" ,
84
78
# the older version of nbmake goes with the older
85
79
# version of nbclient, which is required by jupyter-cache
86
80
# "nbclient ~= 0.5.13",
87
81
" nbclient" ,
88
- " nbmake" ,
89
82
" nbformat" ,
90
83
# markdown in Sphinx
91
84
" myst-nb ~= 0.13.2" ,
92
85
" myst-parser ~= 0.15.2" ,
93
86
]
87
+ # For developers
88
+ dev = [
89
+ " idaes-examples[gui,testing,docs]" ,
90
+ # For jupyter notebook testing
91
+ " black[jupyter] ~= 22.8.0" ,
92
+ # For adding copyright headers (see addheader.yml and the readme)
93
+ " addheader >= 0.3.0" ,
94
+ " blessed ~= 1.20.0" ,
95
+ ]
96
+ # For creating a package
97
+ packaging = [
98
+ " build" ,
99
+ " twine"
100
+ ]
94
101
95
102
[project .urls ]
96
103
github = " https://github.com/idaes/examples"
0 commit comments