forked from frictionlessdata/ckanext-datapackager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (40 loc) · 1.53 KB
/
setup.py
File metadata and controls
47 lines (40 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# encoding: utf-8
from setuptools import setup, find_packages
from codecs import open # To use a consistent encoding
from os import path
version = '1.0.3'
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.markdown'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='ckanext-datapackager',
version=version,
description="This extension adds importing and exporting of Data Packages to CKAN datasets.",
long_description=long_description,
# see http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
],
keywords='CKAN datapackages',
author='Open Knowledge International',
author_email='info@okfn.org',
url='https://github.com/ckan/ckanext-datapackager',
license='AGPL',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
namespace_packages=['ckanext', 'ckanext.datapackager'],
include_package_data=True,
zip_safe=False,
install_requires=[
'python-slugify',
'datapackage>=1.0.0'
],
entry_points='''
[ckan.plugins]
datapackager=ckanext.datapackager.plugin:DataPackagerPlugin
''',
)