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 38e8d6f commit f932d6b
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 34 deletions.
45 changes: 45 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[project]
name = "ckanext-search-schema"
version = "0.1.0"
description = "An extension to manage CKAN search engine schema"
authors = [
{name = "DataShades", email = "[email protected]"},
{name = "Sergey Motornyuk", email = "[email protected]"},
{name = "Oleksandr Cherniavskyi", email = "[email protected]"},
]
maintainers = [
{name = "DataShades", email = "[email protected]"},
]
license = {text = "AGPL"}
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
keywords = ["CKAN SOLR search schema"]
dependencies = []
optional-dependencies = {}

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

[project.urls]
Homepage = "https://github.com/mutantsan/ckanext-search-schema"

[project.entry-points]
"babel.extractors" = {ckan = "ckan.lib.extract:extract_ckan"}

[project.entry-points."ckan.plugins"]
search_schema = "ckanext.search_schema.plugin:SearchSchemaPlugin"

[tool.setuptools.packages]
find = {}

[tool.black]
line-length = 79
preview = true
Expand Down
34 changes: 0 additions & 34 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,37 +1,3 @@
[metadata]
name = ckanext-search-schema
version = 0.1.0
description = An extension to manage CKAN search engine schema
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/mutantsan/ckanext-search-schema
author = Oleksandr Cherniavskyi
author_email = [email protected]
license = AGPL
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
keywords = CKAN SOLR search schema

[options]
packages = find:
namespace_packages = ckanext
install_requires =
include_package_data = True

[options.entry_points]
ckan.plugins =
search_schema = ckanext.search_schema.plugin:SearchSchemaPlugin

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

[options.extras_require]

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

0 comments on commit f932d6b

Please sign in to comment.