forked from Pyomo/pyomo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (84 loc) · 3.06 KB
/
pyproject.toml
File metadata and controls
95 lines (84 loc) · 3.06 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
[build-system]
requires = [
# setuptools 77 for core-metadata version 2.4
"setuptools>=77",
"wheel",
# leave Cython as an optional, runtime‑selectable extra
# setuptools will still import it from setup.py when requested
"cython",
"pybind11",
]
build-backend = "setuptools.build_meta"
# project metadata
[project]
name = "pyomo"
description = "The Pyomo optimization modeling framework"
readme = "README.md"
license = "BSD-3-Clause"
license-files = [ "LICENSE.md" ]
authors = [{name = "Pyomo Development Team", email = "pyomo-developers@googlegroups.com"}]
requires-python = ">=3.10"
keywords=['optimization']
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Software Development :: Libraries :: Python Modules',
]
# All fields that are generated in setup.py must be declared dynamic
dynamic = [
"version",
"dependencies",
"optional-dependencies",
]
[project.urls]
Homepage = "https://www.pyomo.org"
Documentation = "https://pyomo.readthedocs.io/en/stable/"
Source = "https://github.com/Pyomo/pyomo"
[project.scripts]
pyomo = "pyomo.scripting.pyomo_main:main_console_script"
[project.entry-points."pyomo.command"]
"pyomo.help" = "pyomo.scripting.driver_help"
"pyomo.viewer" = "pyomo.contrib.viewer.pyomo_viewer"
[tool.setuptools.dynamic]
version = {attr = "pyomo.version.info.__version__"}
# pytest configuration (moved from setup.cfg)
[tool.pytest.ini_options]
filterwarnings = ["ignore::RuntimeWarning"]
junit_family = "xunit2"
markers = [
"default: mark a test that should always run by default",
"expensive: marks tests as expensive",
"mpi: marks tests that require MPI",
"neos: marks tests that require NEOS server connections",
"importtest: marks tests that checks for warnings when importing modules",
"performance: marks performance tests",
"builders: tests that should be run when testing custom (extension) builders",
"solver(name): mark test to run the named solver",
"writer(name): mark test to run the named problem writer",
]
[tool.black]
line-length = 88
skip-string-normalization = true
skip-magic-trailing-comma = true
extend-exclude = """
(
^/examples/pyomobook/python-ch/BadIndent.py # This is intentionally bad format
| ^/pyomo/tpl # don't reformat TPLs
| ^/pyomo/dataportal/_parse_table_datacmds.py # This is auto-generated
)
"""