-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
37 lines (34 loc) · 1.15 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
# encoding: utf-8
#
import os, sys
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
# Get current version from the VERSION file
with open(os.path.join(here, 'wapi/VERSION')) as fv:
version = fv.read().strip()
install_requires = [
'requests >= 2.18',
'sseclient-py >= 1.7',
'pytz',
'pandas >= 0.21',
'future >= 0.16',
]
if sys.version_info < (3,):
install_requires.append('configparser >= 3.5')
setup(
name='wapi-python',
packages=['wapi'],
install_requires=install_requires,
tests_require=[
'pytest',
'pytest-cov >= 2.5',
'requests-mock >= 1.3',
],
version=version,
description='Volue Insight API python library',
long_description='This library is meant as a simple toolkit for working with data from https://api.volueinsight.com/ (or equivalent services). Note that access is based on some sort of login credentials, this library is not all that useful unless you have a valid Volue Insight account.',
author='Volue Insight',
author_email='[email protected]',
url='https://www.volueinsight.com',
package_data={'wapi': ['VERSION']},
)