2011-04-11 17:53:47 +02:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2021-05-28 14:52:39 +02:00
|
|
|
version = "1.0.0"
|
2011-04-11 17:53:47 +02:00
|
|
|
|
|
|
|
setup(
|
2021-05-28 14:52:39 +02:00
|
|
|
name="ckanext-spatial",
|
|
|
|
version=version,
|
|
|
|
description="Geo-related plugins for CKAN",
|
|
|
|
long_description="""
|
|
|
|
This extension contains plugins that add geospatial capabilities to CKAN_,
|
|
|
|
including:
|
|
|
|
|
|
|
|
* A spatial field on the default CKAN dataset schema, that uses PostGIS_
|
|
|
|
as the backend and allows to perform spatial queries and to display the
|
|
|
|
dataset extent on the frontend.
|
|
|
|
* Harvesters to import geospatial metadata into CKAN from other sources
|
|
|
|
in ISO 19139 format and others.
|
|
|
|
* Commands to support the CSW standard using pycsw_.
|
|
|
|
|
|
|
|
**Note**: The view plugins for rendering spatial formats like GeoJSON_ have
|
|
|
|
been moved to ckanext-geoview_.
|
|
|
|
|
|
|
|
Full documentation, including installation instructions, can be found at:
|
|
|
|
|
|
|
|
https://docs.ckan.org/projects/ckanext-spatial/en/latest/
|
|
|
|
""",
|
|
|
|
classifiers=[
|
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 2.7",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
],
|
|
|
|
keywords="",
|
|
|
|
author="Open Knowledge Foundation",
|
|
|
|
author_email="info@okfn.org",
|
|
|
|
url="http://okfn.org",
|
|
|
|
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="""
|
2011-04-11 19:04:28 +02:00
|
|
|
[ckan.plugins]
|
2012-02-21 13:00:47 +01:00
|
|
|
spatial_metadata=ckanext.spatial.plugin:SpatialMetadata
|
|
|
|
spatial_query=ckanext.spatial.plugin:SpatialQuery
|
2012-10-19 12:19:01 +02:00
|
|
|
spatial_harvest_metadata_api=ckanext.spatial.plugin:HarvestMetadataApi
|
2013-02-12 17:13:35 +01:00
|
|
|
|
2013-02-12 19:29:30 +01:00
|
|
|
csw_harvester=ckanext.spatial.harvesters:CSWHarvester
|
|
|
|
waf_harvester=ckanext.spatial.harvesters:WAFHarvester
|
|
|
|
doc_harvester=ckanext.spatial.harvesters:DocHarvester
|
|
|
|
|
2013-02-12 17:13:35 +01:00
|
|
|
# Legacy harvesters
|
|
|
|
gemini_csw_harvester=ckanext.spatial.harvesters.gemini:GeminiCswHarvester
|
|
|
|
gemini_doc_harvester=ckanext.spatial.harvesters.gemini:GeminiDocHarvester
|
|
|
|
gemini_waf_harvester=ckanext.spatial.harvesters.gemini:GeminiWafHarvester
|
2012-10-17 17:59:02 +02:00
|
|
|
|
2011-04-11 19:04:28 +02:00
|
|
|
[paste.paster_command]
|
2011-04-13 13:05:59 +02:00
|
|
|
spatial=ckanext.spatial.commands.spatial:Spatial
|
2013-06-20 16:48:40 +02:00
|
|
|
ckan-pycsw=ckanext.spatial.commands.csw:Pycsw
|
2012-10-19 19:20:32 +02:00
|
|
|
validation=ckanext.spatial.commands.validation:Validation
|
2015-04-01 12:36:00 +02:00
|
|
|
|
|
|
|
[ckan.test_plugins]
|
|
|
|
test_spatial_plugin = ckanext.spatial.tests.test_plugin.plugin:TestSpatialPlugin
|
2021-05-28 14:52:39 +02:00
|
|
|
""",
|
2011-04-11 17:53:47 +02:00
|
|
|
)
|