Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First version of pyproject.toml #106

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#
#
[project]
name = "ckanext-geoview"
version = "0.2.0"
description = "Geospatial viewers for CKAN resources"
readme = "README.md"
authors = [
{name = "Philippe Duchesne, Adrià Mercader and contributors", email = "[email protected]"}
]
license = {text = "MIT"}
classifiers = []
keywords = []
dependencies = []

[project.urls]
Homepage = "http://github.com/ckan/ckanext-geoview"

[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"

#[build-system]
#requires = ["setuptools", "wheel"]
#build-backend = "setuptools.build_meta"
#
[tool.setuptools]
#packages = ["ckanext"]
#namespace-packages = ["ckanext"]
include-package-data = true

[tool.setuptools.packages]
find = {}


[project.entry-points."ckan.plugins"]
geo_view = "ckanext.geoview.plugin:OLGeoView"
geojson_view = "ckanext.geoview.plugin:GeoJSONView"
wmts_view = "ckanext.geoview.plugin:WMTSView"
shp_view = "ckanext.geoview.plugin:SHPView"
46 changes: 21 additions & 25 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,25 @@
version = '0.2.0'

setup(
name='ckanext-geoview',
version=version,
description='Geospatial viewers for CKAN resources',
long_description='This extension contains view plugins to display geospatial files and services in CKAN.',
long_description_content_type='text/plain',
classifiers=[],
keywords='',
author='Philippe Duchesne, Adrià Mercader and contributors',
author_email='[email protected]',
url='http://github.com/ckan/ckanext-geoview',
license='MIT',
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]
geo_view=ckanext.geoview.plugin:OLGeoView
geojson_view=ckanext.geoview.plugin:GeoJSONView
wmts_view=ckanext.geoview.plugin:WMTSView
shp_view=ckanext.geoview.plugin:SHPView
''',
# description='Geospatial viewers for CKAN resources',
# long_description='This extension contains view plugins to display geospatial files and services in CKAN.',
# long_description_content_type='text/plain',
# classifiers=[],
# keywords='',
# author='Philippe Duchesne, Adrià Mercader and contributors',
# author_email='[email protected]',
# license='MIT',
# packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
# namespace_packages=['ckanext'],
# include_package_data=True,
# zip_safe=False,
# install_requires=[
# ],
# entry_points='''
# [ckan.plugins]
# geo_view=ckanext.geoview.plugin:OLGeoView
# geojson_view=ckanext.geoview.plugin:GeoJSONView
# wmts_view=ckanext.geoview.plugin:WMTSView
# shp_view=ckanext.geoview.plugin:SHPView
# ''',
)
Loading