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 ef44950 commit dcd3357
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 265 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ dmypy.json

# Pyre type checker
.pyre/
_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.11.0
- setup: migrate to pyproject.toml
0.10.3
- reg: typo in dclab S3 instantiation
0.10.2
Expand Down
197 changes: 0 additions & 197 deletions dcor_shared/_version.py

This file was deleted.

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

[project]
name = "dcor_shared"
authors = [
# In alphabetical order.
{name = "Paul Müller"},
]
maintainers = [
{name = "Paul Müller", email="dev@craban.de"},
]
description = "Functionalities shared by the DCOR CKAN extensions"
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 = [
"boto3",
"dclab[s3]>=0.60.9",
]
dynamic = ["version"]

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

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

[tool.setuptools]
packages = ["dcor_shared"]
3 changes: 0 additions & 3 deletions setup.cfg

This file was deleted.

64 changes: 0 additions & 64 deletions setup.py

This file was deleted.

0 comments on commit dcd3357

Please sign in to comment.