-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
69 lines (60 loc) · 1.8 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import io
import os
from os.path import join, dirname
import dpm
# Workaround for slow entry points https://github.com/pypa/setuptools/issues/510
# Taken from https://github.com/ninjaaron/fast-entry_points
import fastentrypoints
from setuptools import setup, find_packages
def read(*paths):
"""Read a text file."""
fullpath = join(dirname(__file__), *paths)
return io.open(fullpath, encoding='utf-8').read().strip()
INSTALL_REQUIRES = [
'click',
'configobj',
'datapackage',
'goodtables==1.0.0a5',
'requests[security]',
'six',
'future'
]
TESTS_REQUIRE = [
'nose',
'mock',
'responses'
]
setup(
name='dpmpy',
version=read('dpm', 'VERSION'),
description='dpm is a package manager for Data Packages',
long_description=read('README.md'),
author='Atomatic',
author_email='hello@atomatic.net',
url='https://github.com/frictionlessdata/dpmpy',
license='MIT',
packages=find_packages(exclude=['tests']),
include_package_data=True,
install_requires=INSTALL_REQUIRES,
tests_require=TESTS_REQUIRE,
extras_require={'develop': TESTS_REQUIRE},
test_suite='nose.collector',
entry_points={
'console_scripts': ['dpm = dpm.main:cli'],
},
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows',
'Operating System :: OS Independent',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Android',
'Programming Language :: C',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development',
'Topic :: Utilities',
],
)