forked from ckan/ckanapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (42 loc) · 1014 Bytes
/
setup.py
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
48
49
#!/usr/bin/env python
from setuptools import setup
import sys
install_requires=[
'setuptools',
'docopt',
'requests',
'python-slugify>=1.0',
'six>=1.9,<2.0',
]
tests_require=[
'pyfakefs==3.6.1',
]
if sys.version_info <= (3,):
install_requires.append('simplejson')
setup(
name='ckanapi',
version='4.3',
description=
'A command line interface and Python module for '
'accessing the CKAN Action API',
license='MIT',
author='Ian Ward',
author_email='[email protected]',
url='https://github.com/ckan/ckanapi',
packages=[
'ckanapi',
'ckanapi.tests',
'ckanapi.tests.mock',
'ckanapi.cli',
],
install_requires=install_requires,
tests_require=tests_require,
test_suite='ckanapi.tests',
zip_safe=False,
entry_points = """
[console_scripts]
ckanapi=ckanapi.cli.main:main
[paste.paster_command]
ckanapi=ckanapi.cli.paster:CKANAPICommand
"""
)