[forms, commands] move code for creating example vocab to a paster command
[ckanext-datagovau.git] / setup.py
blob:a/setup.py -> blob:b/setup.py
from setuptools import setup, find_packages from setuptools import setup, find_packages
   
version = '0.2' version = '0.2'
   
setup( setup(
name='ckanext-example', name='ckanext-example',
version=version, version=version,
description='Example extension for customising CKAN', description='Example extension for customising CKAN',
long_description='', long_description='',
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='', keywords='',
author='Seb Bacon', author='Seb Bacon',
author_email='seb.bacon@gmail.com', author_email='seb.bacon@gmail.com',
url='', url='',
license='', license='',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
namespace_packages=['ckanext', 'ckanext.example'], namespace_packages=['ckanext', 'ckanext.example'],
include_package_data=True, include_package_data=True,
zip_safe=False, zip_safe=False,
install_requires=[ install_requires=[],
# -*- Extra requirements: -*-  
],  
entry_points=\ entry_points=\
""" """
[ckan.plugins] [ckan.plugins]
example=ckanext.example.plugin:ExamplePlugin example=ckanext.example.plugin:ExamplePlugin
example_datasetform=ckanext.example.forms:ExampleDatasetForm example_datasetform=ckanext.example.forms:ExampleDatasetForm
example_groupform=ckanext.example.forms:ExampleGroupForm example_groupform=ckanext.example.forms:ExampleGroupForm
   
[ckan.forms] [ckan.forms]
example_form = ckanext.example.package_form:get_example_fieldset example_form = ckanext.example.package_form:get_example_fieldset
   
  [paste.paster_command]
  example=ckanext.example.commands:ExampleCommand
""", """,
) )