diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..633863a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,48 @@ +[build-system] +requires = ["setuptools>=61.2"] +build-backend = "setuptools.build_meta" + +[project] +name = "ckanext-tour" +version = "0.1.1" +description = "Create an interactive tour that will help users familiarize themselves with the important features of your portal" +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 :: 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 = [] +optional-dependencies = {} + +[project.readme] +file = "README.md" +content-type = "text/markdown" + +[project.urls] +Homepage = "https://github.com/DataShades/ckanext-tour" + +[project.entry-points] +"ckan.plugins" = {tour = "ckanext.tour.plugin:TourPlugin"} +"babel.extractors" = {ckan = "ckan.lib.extract:extract_ckan"} + +[tool.setuptools.packages] +find = {} + +[tool.pytest.ini_options] +filterwarnings = [ + "ignore::sqlalchemy.exc.SADeprecationWarning", + "ignore::sqlalchemy.exc.SAWarning", + "ignore::DeprecationWarning", +] +addopts = "--ckan-ini test.ini" diff --git a/setup.cfg b/setup.cfg index 97bacf4..b564c03 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,36 +1,3 @@ -[metadata] -name = ckanext-tour -version = 0.1.1 -description = Create an interactive tour that will help users familiarize themselves with the important features of your portal -long_description = file: README.md -long_description_content_type = text/markdown -url = https://github.com/mutantsan/ckanext-tour -author = Oleksandr 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 = -include_package_data = True - -[options.entry_points] -ckan.plugins = - tour = ckanext.tour.plugin:TourPlugin - -babel.extractors = - ckan = ckan.lib.extract:extract_ckan - -[options.extras_require] - [extract_messages] keywords = translate isPlural add_comments = TRANSLATORS: @@ -52,10 +19,3 @@ previous = true domain = ckanext-tour directory = ckanext/tour/i18n statistics = true - -[tool:pytest] -filterwarnings = - ignore::sqlalchemy.exc.SADeprecationWarning - ignore::sqlalchemy.exc.SAWarning - ignore::DeprecationWarning -addopts = --ckan-ini test.ini