-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
70 lines (63 loc) · 1.97 KB
/
setup.py
File metadata and controls
70 lines (63 loc) · 1.97 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# from ez_setup import use_setuptools
# use_setuptools()
from setuptools import setup, find_packages
from dpm import __version__, __license__, __description__
try:
__description_long__ = open('README.rst').read()
except:
__description_long__ = ''
setup(
name='dpm',
version=__version__,
# metadata
author='Open Knowledge Foundation',
author_email='info@okfn.org',
license=__license__,
description=__description__,
long_description=__description_long__,
keywords='data, packaging, component, tool',
url='http://okfn.org/projects/dpm',
classifiers=[
],
packages=find_packages(),
include_package_data=True,
install_requires=[
'setuptools>=0.6c',
# make ckan support obligatory for time being
'ckanclient>=0.3',
],
entry_points='''
[egg_info.writers]
datapkg_index.txt=setuptools.command.egg_info:write_arg
[console_scripts]
dpm=dpm.cli:main
[dpm.cli]
help = dpm.cli:HelpCommand
about = dpm.cli.standard:AboutCommand
license = dpm.cli.standard:LicenseCommand
man = dpm.cli.standard:ManCommand
list = dpm.cli.standard:ListCommand
search = dpm.cli.standard:SearchCommand
info = dpm.cli.standard:InfoCommand
dump = dpm.cli.standard:DumpCommand
init = dpm.cli.standard:InitCommand
setup = dpm.cli.standard:SetupCommand
register = dpm.cli.standard:RegisterCommand
update = dpm.cli.standard:UpdateCommand
download = dpm.cli.download:DownloadCommand
clone = dpm.cli.download:DownloadCommand
upload = dpm.cli.upload:UploadCommand
push = dpm.cli.push:PushCommand
[dpm.index]
simple = dpm.index.base:SimpleIndex
file = dpm.index.base:FileIndex
ckan = dpm.index.ckan:CkanIndex
egg = dpm.index.egg:EggIndex
[dpm.distribution]
json = dpm.distribution:JsonDistribution
[dpm.resource_downloader]
simple = dpm.download:ResourceDownloaderSimple
''',
test_suite='nose.collector',
zip_safe=False,
)