-
Notifications
You must be signed in to change notification settings - Fork 75
/
setup.py
55 lines (47 loc) · 1.14 KB
/
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
50
51
52
53
54
#!/usr/bin/env python
from setuptools import setup
import sys
install_requires=[
'setuptools',
'docopt',
'requests',
"python-slugify>=1.0,<5.0; python_version < '3.0'",
"python-slugify>=1.0; python_version >= '3.0'",
'six>=1.9,<2.0',
'simplejson',
]
tests_require=[
'pyfakefs==5.3.5',
]
setup(
name='ckanapi',
version='4.8',
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,
extras_require={
'testing': tests_require,
},
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
[ckan.click_command]
api=ckanapi.cli.ckan_click:api
"""
)