Skip to content

Commit

Permalink
chore: switch ot pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Oct 17, 2024
1 parent da5c436 commit 153fb5b
Showing 2 changed files with 43 additions and 36 deletions.
43 changes: 43 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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
36 changes: 0 additions & 36 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit 153fb5b

Please # to comment.