From 153fb5b4eb23cb33c1c8bf65a8af4106bd2d4e3f Mon Sep 17 00:00:00 2001 From: Sergey Motornyuk Date: Thu, 17 Oct 2024 17:23:58 +0300 Subject: [PATCH] chore: switch ot pyproject.toml --- pyproject.toml | 43 +++++++++++++++++++++++++++++++++++++++++++ setup.cfg | 36 ------------------------------------ 2 files changed, 43 insertions(+), 36 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dd450b9..669bb40 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,46 @@ +[build-system] +requires = [ "setuptools",] +build-backend = "setuptools.build_meta" + +[project] +name = "ckanext-federated-index" +version = "0.1.1.post1" +description = "" +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",] +keywords = [ "CKAN",] +dependencies = [ "ckanapi",] +authors = [ + {name = "DataShades", email = "datashades@linkdigital.com.au"}, + {name = "Alexandr Cherniavskyi", email = "mutantsan@gmail.com"}, + {name = "Sergey Motornyuk", email = "sergey.motornyuk@linkdigital.com.au"}, +] +maintainers = [ + {name = "DataShades", email = "datashades@linkdigital.com.au"}, +] + + +[project.readme] +file = "README.md" +content-type = "text/markdown" + +[project.license] +text = "AGPL" + +[project.urls] +Homepage = "https://github.com/DataShades/ckanext-federated-index" + +[project.optional-dependencies] + +[project.entry-points."ckan.plugins"] +federated_index = "ckanext.federated_index.plugin:FederatedIndexPlugin" +test_federated_index = "ckanext.federated_index.tests.conftest:TestFederatedIndexPlugin" + +[project.entry-points."babel.extractors"] +ckan = "ckan.lib.extract:extract_ckan" + +[tool.setuptools.packages] +find = {} + [tool.black] # line-length = 88 # preview = true diff --git a/setup.cfg b/setup.cfg index fe86661..b8c2b54 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,39 +1,3 @@ -[metadata] -name = ckanext-federated-index -version = 0.1.1 -description = -long_description = file: README.md -long_description_content_type = text/markdown -url = https://github.com/DataShades/ckanext-federated-index -author = Alexandr Cherniavskyi -author_email = mutantsan@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 -keywords = CKAN - -[options] -packages = find: -namespace_packages = ckanext -install_requires = - ckanapi - -include_package_data = True - -[options.entry_points] -ckan.plugins = - federated_index = ckanext.federated_index.plugin:FederatedIndexPlugin - test_federated_index = ckanext.federated_index.tests.conftest:TestFederatedIndexPlugin - -babel.extractors = - ckan = ckan.lib.extract:extract_ckan - -[options.extras_require] - [extract_messages] keywords = translate isPlural add_comments = TRANSLATORS: