diff --git a/pyproject.toml b/pyproject.toml index 28e5a32..940e1ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/setup.cfg b/setup.cfg index 4b17325..4f5888a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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: