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

[project]
name = "ckanext-comments"
version = "0.3.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", "Programming Language :: Python :: 3.11",]
keywords = [ "CKAN",]
requires-python = ">=3.8"
dependencies = [ "blinker", "typing-extensions",]
authors = [
{name = "DataShades", email = "[email protected]"},
{name = "Sergey Motornyuk", email = "[email protected]"},
]
maintainers = [
{name = "DataShades", email = "[email protected]"},
]

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

[project.license]
text = "AGPL"

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

[project.entry-points."ckan.plugins"]
comments = "ckanext.comments.plugin:CommentsPlugin"

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

[tool.setuptools.packages]
find = {}

[tool.black]
# line-length = 88
# preview = true
Expand Down
42 changes: 0 additions & 42 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,38 +1,3 @@
[metadata]
name = ckanext-comments
version = 0.3.1
description =
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/DataShades/ckanext-comments
author = Sergey Motornyuk
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.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11

keywords = CKAN

[options]
python_requires = >=3.8
packages = find:
namespace_packages = ckanext
install_requires =
blinker
typing-extensions
include_package_data = True

[options.entry_points]
ckan.plugins =
comments = ckanext.comments.plugin:CommentsPlugin
babel.extractors =
ckan = ckan.lib.extract:extract_ckan

[extract_messages]
keywords = translate isPlural
add_comments = TRANSLATORS:
Expand All @@ -54,10 +19,3 @@ previous = true
domain = ckanext-comments
directory = ckanext/comments/i18n
statistics = true

[tool:pytest]
filterwarnings =
ignore::sqlalchemy.exc.SADeprecationWarning
ignore::sqlalchemy.exc.SAWarning
ignore::DeprecationWarning
addopts = --ckan-ini test.ini

0 comments on commit d27f0a0

Please sign in to comment.