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 e954046 commit 9e92ad2
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 278 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ ckanext/dcor_theme/public/favicon.ico

.idea
.vagrant

_version.py
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
0.8.0
- setup: migrate to pyproject.toml
0.7.8
- maintenance release
0.7.7
Expand Down
9 changes: 0 additions & 9 deletions ckanext/__init__.py

This file was deleted.

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

This file was deleted.

49 changes: 49 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[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-dcor_theme"
authors = [
# In alphabetical order.
{name = "Paul Müller"},
]
maintainers = [
{name = "Paul Müller", email="[email protected]"},
]
description = "The DCOR CKAN theme"
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",
"Babel>=2.8.0",
]
dynamic = ["version"]

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

[project.entry-points."ckan.plugins"]
dcor_theme = "ckanext.dcor_theme.plugin:DCORThemePlugin"

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

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

This file was deleted.

0 comments on commit 9e92ad2

Please sign in to comment.