-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #304 from ckan/add-pyproject.toml
First iteration of pyproject.toml
- Loading branch information
Showing
3 changed files
with
74 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[project] | ||
name = "ckanext-dcat" | ||
version = "2.0.0" | ||
description = "Plugins for exposing and consuming DCAT metadata on CKAN" | ||
authors = [ | ||
{name = "Adrià Mercader", email = "[email protected]"} | ||
] | ||
maintainers = [ | ||
{name = "CKAN Tech Team and contributors", email = "[email protected]"}, | ||
{name = "Seitenbau Govdata"}, | ||
{name = "Stefan Oderbolz"} | ||
] | ||
license = {text = "AGPL"} | ||
classifiers = [ | ||
"Intended Audience :: Developers", | ||
"Development Status :: 5 - Production/Stable", | ||
"License :: OSI Approved :: GNU Affero General Public License v3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12" | ||
] | ||
keywords = [ | ||
"ckan", | ||
"ckanext", | ||
"DCAT", | ||
"DCAT-AP", | ||
"Schema.org", | ||
"Linked data", | ||
"RDF", | ||
"Semantic data" | ||
] | ||
dependencies = [] | ||
|
||
[project.urls] | ||
Documentation = "https://docs.ckan.org/projects/ckanext-dcat" | ||
Repository = "https://github.com/ckan/ckanext-dcat" | ||
Issues = "https://github.com/ckan/ckanext-dcat/issues" | ||
Changelog = "https://docs.ckan.org/projects/ckanext-dcat/en/latest/changelog/" | ||
|
||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project.entry-points."ckan.plugins"] | ||
dcat_xml_harvester = "ckanext.dcat.harvesters:DCATXMLHarvester" | ||
dcat_json_harvester = "ckanext.dcat.harvesters:DCATJSONHarvester" | ||
dcat_rdf_harvester = "ckanext.dcat.harvesters:DCATRDFHarvester" | ||
dcat_json_interface = "ckanext.dcat.plugins:DCATJSONInterface" | ||
dcat = "ckanext.dcat.plugins:DCATPlugin" | ||
structured_data = "ckanext.dcat.plugins:StructuredDataPlugin" | ||
# Test plugins | ||
test_rdf_harvester = "ckanext.dcat.tests.harvester.test_harvester:TestRDFHarvester" | ||
test_rdf_null_harvester = "ckanext.dcat.tests.harvester.test_harvester:TestRDFNullHarvester" | ||
test_rdf_exception_harvester = "ckanext.dcat.tests.harvester.test_harvester:TestRDFExceptionHarvester" | ||
|
||
[project.entry-points."ckan.rdf.profiles"] | ||
euro_dcat_ap = "ckanext.dcat.profiles:EuropeanDCATAPProfile" | ||
euro_dcat_ap_2 = "ckanext.dcat.profiles:EuropeanDCATAP2Profile" | ||
euro_dcat_ap_3 = "ckanext.dcat.profiles:EuropeanDCATAP3Profile" | ||
euro_dcat_ap_scheming = "ckanext.dcat.profiles:EuropeanDCATAPSchemingProfile" | ||
schemaorg = "ckanext.dcat.profiles:SchemaOrgProfile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,6 @@ | ||
from setuptools import setup, find_packages | ||
|
||
version = '2.0.0' | ||
from setuptools import setup | ||
|
||
setup( | ||
name='ckanext-dcat', | ||
version=version, | ||
description="Plugins for exposing and consuming DCAT metadata on CKAN", | ||
long_description='''\ | ||
''', | ||
classifiers=[], | ||
keywords='', | ||
author='Open Knowledge Foundation', | ||
author_email='[email protected]', | ||
url='https://github.com/okfn/ckanext-dcat', | ||
license='AGPL', | ||
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), | ||
namespace_packages=['ckanext'], | ||
include_package_data=True, | ||
zip_safe=False, | ||
install_requires=[ | ||
# -*- Extra requirements: -*- | ||
], | ||
entry_points=''' | ||
[ckan.plugins] | ||
dcat_xml_harvester=ckanext.dcat.harvesters:DCATXMLHarvester | ||
dcat_json_harvester=ckanext.dcat.harvesters:DCATJSONHarvester | ||
dcat_rdf_harvester=ckanext.dcat.harvesters:DCATRDFHarvester | ||
dcat_json_interface=ckanext.dcat.plugins:DCATJSONInterface | ||
dcat=ckanext.dcat.plugins:DCATPlugin | ||
structured_data=ckanext.dcat.plugins:StructuredDataPlugin | ||
# Test plugins | ||
test_rdf_harvester=ckanext.dcat.tests.harvester.test_harvester:TestRDFHarvester | ||
test_rdf_null_harvester=ckanext.dcat.tests.harvester.test_harvester:TestRDFNullHarvester | ||
test_rdf_exception_harvester=ckanext.dcat.tests.harvester.test_harvester:TestRDFExceptionHarvester | ||
[ckan.rdf.profiles] | ||
euro_dcat_ap=ckanext.dcat.profiles:EuropeanDCATAPProfile | ||
euro_dcat_ap_2=ckanext.dcat.profiles:EuropeanDCATAP2Profile | ||
euro_dcat_ap_3=ckanext.dcat.profiles:EuropeanDCATAP3Profile | ||
euro_dcat_ap_scheming=ckanext.dcat.profiles:EuropeanDCATAPSchemingProfile | ||
schemaorg=ckanext.dcat.profiles:SchemaOrgProfile | ||
[babel.extractors] | ||
ckan = ckan.lib.extract:extract_ckan | ||
''', | ||
message_extractors={ | ||
'ckanext': [ | ||
('**.py', 'python', None), | ||
|