Skip to content

Commit

Permalink
setup: migrate to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Aug 3, 2024
1 parent 5636f44 commit b40f48d
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 283 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ coverage.xml

# Sphinx documentation
docs/_build/
_version_save.py
_version.py
.idea
.vagrant

2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
0.10.0
- setup: migrate to pyproject.toml
0.9.2
- enh: show metadata table caption at top
- enh: show "pipeline" metadata
Expand Down
9 changes: 0 additions & 9 deletions ckanext/__init__.py

This file was deleted.

197 changes: 0 additions & 197 deletions ckanext/dc_view/_version.py

This file was deleted.

52 changes: 52 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[build-system]
# Defined by PEP 518:
requires = [
# for version management
"setuptools>=46", "setuptools_scm[toml]>=6.2"
]
build-backend = "setuptools.build_meta"

[project]
name = "ckanext-dc_view"
authors = [
# In alphabetical order.
{name = "Paul Müller"},
]
maintainers = [
{name = "Paul Müller", email="[email protected]"},
]
description = "Preview DC data on DCOR"
readme = "README.rst"
requires-python = ">=3.8, <4"
keywords = ["DC", "DCOR", "deformability", "cytometry"]
classifiers = [
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Visualization',
'Intended Audience :: Science/Research',
]
license = {text = "GNU Affero General Public License v3 or later (AGPLv3+)"}
dependencies = [
"ckan>=2.10.4, <3",
"dclab>=0.60.9",
"matplotlib",
"numpy>=1.19",
"pillow",
]
dynamic = ["version"]

[project.urls]
source = "https://github.com/DCOR-dev/ckanext-dc_view"
tracker = "https://github.com/DCOR-dev/ckanext-dc_view/issues"
changelog = "https://github.com/DCOR-dev/ckanext-dc_view/blob/main/CHANGELOG"

[project.entry-points."ckan.plugins"]
dc_view = "ckanext.dc_view.plugin:DCViewPlugin"

[tool.setuptools_scm]
write_to = "ckanext/dc_view/_version.py"
version_scheme = "post-release"

[tool.setuptools.packages.find]
where = ["."]
include = ["ckanext.dc_view"]
76 changes: 0 additions & 76 deletions setup.py

This file was deleted.

0 comments on commit b40f48d

Please sign in to comment.