Skip to content

Commit

Permalink
migrate to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Oct 24, 2024
1 parent 4a32b0b commit d2271ed
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 53 deletions.
68 changes: 68 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,71 @@
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[project]
name = "ckanext-bulk"
version = "0.2.11"
description = "Bulk update for CKAN datasets/resources"
authors = [
{name = "DataShades", email = "datashades@linkdigital.com.au"},
{name = "Oleksandr Cherniavskyi", email = "mutantsan@gmail.com"},
]
maintainers = [
{name = "DataShades", email = "datashades@linkdigital.com.au"},
]
license = {text = "AGPL"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
keywords = ["CKAN"]
requires-python = ">= 3.8"
dependencies = ["typing_extensions"]

[project.readme]
file = "README.md"
content-type = "text/markdown"

[project.urls]
Homepage = "https://github.com/DataShades/ckanext-bulk"

[project.entry-points]
"ckan.plugins" = {bulk = "ckanext.bulk.plugin:BulkPlugin"}
"babel.extractors" = {ckan = "ckan.lib.extract:extract_ckan"}

[project.optional-dependencies]
test = [
"pytest-ckan",
"pytest-benchmark",
"pytest-pretty",
]
docs = [
"mkdocs",
"mkdocs-material",
"pymdown-extensions",
"mkdocstrings[python]",
]
dev = [
"pytest-ckan",
"pytest-benchmark",
"pytest-pretty",
"mkdocs",
"mkdocs-material",
"pymdown-extensions",
"mkdocstrings[python]",
"pre-commit",
]

[tool.setuptools.packages]
find = {}


[tool.ruff]
target-version = "py38"

Expand Down
53 changes: 0 additions & 53 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,56 +1,3 @@
[metadata]
name = ckanext-bulk
version = 0.2.1
description = Bulk update for CKAN datasets/resources
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/Link Digital/ckanext-bulk
author = mutantsan
author_email = kvaqich@gmail.com
license = AGPL
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
keywords = CKAN

[options]
python_requires = >= 3.8
packages = find:
namespace_packages = ckanext
include_package_data = True
install_requires =
typing_extensions

[options.entry_points]
ckan.plugins =
bulk = ckanext.bulk.plugin:BulkPlugin

babel.extractors =
ckan = ckan.lib.extract:extract_ckan

[options.extras_require]
test =
pytest-ckan
pytest-benchmark
pytest-pretty

docs =
mkdocs
mkdocs-material
pymdown-extensions
mkdocstrings[python]

dev =
%(test)s
%(docs)s
pre-commit

[extract_messages]
keywords = translate isPlural
add_comments = TRANSLATORS:
Expand Down

0 comments on commit d2271ed

Please sign in to comment.