-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
40 lines (36 loc) · 1.38 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
import os
import sys
from setuptools import setup
from codecs import open
# Get the long description from the README.md file
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Don't import omnivore module here, since deps may not be installed
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'omnivore'))
from version import VERSION
setup(
name='omnivore',
version=VERSION,
description='Omnivore.io python library',
long_description=long_description,
license='MIT',
author='Alex Grover',
author_email='[email protected]',
url='https://github.com/doordash/omnivore',
packages=['omnivore', 'omnivore.resource', 'omnivore.test'],
install_requires=['requests >= 2.8.1'],
test_suite='pytest', # 'omnivore.test.all?'
tests_require=['pytest'], # TODO: stripe uses unittest2 and mock?
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
)