Skip to content

Commit 2ca2908

Browse files
committed
Migrate to pyproject.toml
1 parent a0b3544 commit 2ca2908

File tree

2 files changed

+73
-7
lines changed

2 files changed

+73
-7
lines changed

pyproject.toml

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,78 @@
11
[build-system]
22
requires = [
3-
"setuptools>=42",
3+
"setuptools>=69",
44
"wheel"
55
]
66
build-backend = "setuptools.build_meta"
7+
8+
[project]
9+
name = "CADET-Process"
10+
dynamic = ["version"]
11+
authors = [
12+
{ name = "Johannes Schmölder", email = "[email protected]" },
13+
]
14+
description = "A Framework for Modelling and Optimizing Advanced Chromatographic Processes"
15+
readme = "README.md"
16+
requires-python = ">=3.10"
17+
keywords = ["process modeling", "process optimization", "chromatography"]
18+
license = { text = "GPLv3" }
19+
classifiers = [
20+
"Programming Language :: Python :: 3",
21+
"Operating System :: OS Independent",
22+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
23+
"Intended Audience :: Science/Research",
24+
]
25+
dependencies = [
26+
"addict==2.3",
27+
"cadet-python>=0.14",
28+
"corner>=2.2.1",
29+
"diskcache>=5.4.0",
30+
"hopsy>=1.4.0",
31+
"joblib>=1.3.0",
32+
"numpy>=1.21",
33+
"matplotlib>=3.4",
34+
"numba>=0.55.1",
35+
"pathos>=0.2.8",
36+
"psutil>=5.9.8",
37+
"pymoo>=0.6",
38+
"scipy>=1.11",
39+
]
40+
41+
[project.optional-dependencies]
42+
testing = [
43+
"certifi", # tries to prevent certificate problems on windows
44+
"pytest",
45+
"pre-commit", # system tests run pre-commit
46+
"ax-platform>=0.3.5",
47+
]
48+
docs = [
49+
"myst-nb>=0.17.1",
50+
"numpydoc>=1.5.0",
51+
"sphinx>=5.3.0",
52+
"sphinxcontrib-bibtex>=2.5.0",
53+
"sphinx_book_theme>=1.0.0",
54+
"sphinx_copybutton>=0.5.1",
55+
"sphinx-sitemap>=2.5.0",
56+
]
57+
58+
ax = [
59+
"ax-platform>=0.3.5",
60+
]
61+
62+
[project.urls]
63+
homepage = "https://github.com/fau-advanced-separations/CADET-Process"
64+
documentation = "https://cadet-process.readthedocs.io"
65+
"Bug Tracker" = "https://github.com/fau-advanced-separations/CADET-Process/issues"
66+
67+
68+
[tool.setuptools.dynamic]
69+
version = { attr = "CADETProcess.__version__" }
70+
71+
[tool.ruff]
72+
src = ["CADETProcess"]
73+
line-length = 88
74+
75+
[tool.pytest.ini_options]
76+
testpaths = [
77+
"tests",
78+
]

setup.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)