forked from openknowledge-archive/dpm-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (56 loc) · 1.6 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
import io
import os
from os.path import join, dirname
import dpm
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',
'requests',
'six'
]
TESTS_REQUIRE = [
'nose',
'mock',
'mocket',
'responses'
]
setup(
name='dpmpy',
version=dpm.__version__,
description='dpmpy is a package manager for datapackages',
long_description=read('README.md'),
author='Atomatic',
author_email='[email protected]',
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': ['dpmpy = 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',
],
)