Skip to content

Commit 4057cf9

Browse files
committed
setup: migrate to pyproject.toml
1 parent 8b16642 commit 4057cf9

File tree

5 files changed

+64
-283
lines changed

5 files changed

+64
-283
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ dmypy.json
127127

128128
# Pyre type checker
129129
.pyre/
130-
_version_save.py
130+
_version.py
131131

132132
.idea
133133
.vagrant

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
0.11.0
22
- ref: restructure site configuration workflow logic
3+
- setup: migrate to pyproject.toml
34
0.10.11
45
- enh: only restart nginx/supervisor in 'dcor inspect' when necessary
56
0.10.10

dcor_control/_version.py

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

pyproject.toml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
[build-system]
2+
# Defined by PEP 518:
3+
requires = [
4+
# for version management
5+
"setuptools>=46", "setuptools_scm[toml]>=6.2"
6+
]
7+
build-backend = "setuptools.build_meta"
8+
9+
[project]
10+
name = "dcor_control"
11+
authors = [
12+
# In alphabetical order.
13+
{name = "Paul Müller"},
14+
]
15+
maintainers = [
16+
{name = "Paul Müller", email="dev@craban.de"},
17+
]
18+
description = "CLI for maintaining DCOR installations"
19+
readme = "README.rst"
20+
requires-python = ">=3.8, <4"
21+
keywords = ["DC", "DCOR", "deformability", "cytometry"]
22+
classifiers = [
23+
'Operating System :: OS Independent',
24+
'Programming Language :: Python :: 3',
25+
'Topic :: Scientific/Engineering :: Visualization',
26+
'Intended Audience :: Science/Research',
27+
]
28+
license = {text = "GNU Affero General Public License v3 or later (AGPLv3+)"}
29+
dependencies = [
30+
"appdirs",
31+
"ckan>=2.10.4, <3",
32+
"click>=7",
33+
"cryptography>=41", # client beaker session cookies
34+
"ckanext-dc_log_view>0.2.9",
35+
"ckanext-dc_serve>0.11.1",
36+
"ckanext-dc_view>0.6.10",
37+
"ckanext-dcor_depot>0.11.0",
38+
"dcor_control>0.17.2",
39+
"ckanext-dcor_theme>0.6.1",
40+
"dcor_shared>=0.7.5",
41+
"importlib_resources",
42+
"numpy>=1.21", # CVE-2021-33430
43+
# https://github.com/unbit/uwsgi/issues/2580
44+
# https://github.com/unbit/uwsgi/pull/2587
45+
"uwsgi==2.0.21",
46+
]
47+
dynamic = ["version"]
48+
49+
[project.urls]
50+
source = "https://github.com/DCOR-dev/dcor_control"
51+
tracker = "https://github.com/DCOR-dev/dcor_control/issues"
52+
changelog = "https://github.com/DCOR-dev/dcor_control/blob/main/CHANGELOG"
53+
54+
[project.scripts]
55+
dcor = "dcor_control.cli:main"
56+
57+
[tool.setuptools_scm]
58+
write_to = "dcor_control/_version.py"
59+
version_scheme = "post-release"
60+
61+
[tool.setuptools]
62+
packages = ["dcor_control"]

setup.py

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

0 commit comments

Comments
 (0)