Skip to content

Commit b40f48d

Browse files
committed
setup: migrate to pyproject.toml
1 parent 5636f44 commit b40f48d

File tree

6 files changed

+55
-283
lines changed

6 files changed

+55
-283
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ coverage.xml
4040

4141
# Sphinx documentation
4242
docs/_build/
43-
_version_save.py
43+
_version.py
4444
.idea
4545
.vagrant
4646

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
0.10.0
2+
- setup: migrate to pyproject.toml
13
0.9.2
24
- enh: show metadata table caption at top
35
- enh: show "pipeline" metadata

ckanext/__init__.py

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

ckanext/dc_view/_version.py

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

pyproject.toml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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 = "ckanext-dc_view"
11+
authors = [
12+
# In alphabetical order.
13+
{name = "Paul Müller"},
14+
]
15+
maintainers = [
16+
{name = "Paul Müller", email="[email protected]"},
17+
]
18+
description = "Preview DC data on DCOR"
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+
"ckan>=2.10.4, <3",
31+
"dclab>=0.60.9",
32+
"matplotlib",
33+
"numpy>=1.19",
34+
"pillow",
35+
]
36+
dynamic = ["version"]
37+
38+
[project.urls]
39+
source = "https://github.com/DCOR-dev/ckanext-dc_view"
40+
tracker = "https://github.com/DCOR-dev/ckanext-dc_view/issues"
41+
changelog = "https://github.com/DCOR-dev/ckanext-dc_view/blob/main/CHANGELOG"
42+
43+
[project.entry-points."ckan.plugins"]
44+
dc_view = "ckanext.dc_view.plugin:DCViewPlugin"
45+
46+
[tool.setuptools_scm]
47+
write_to = "ckanext/dc_view/_version.py"
48+
version_scheme = "post-release"
49+
50+
[tool.setuptools.packages.find]
51+
where = ["."]
52+
include = ["ckanext.dc_view"]

setup.py

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

0 commit comments

Comments
 (0)