forked from betcode-org/betfair
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (49 loc) · 1.37 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
import sys
import re
from setuptools import setup
INSTALL_REQUIRES = [
'requests',
'ciso8601',
'ujson',
]
TEST_REQUIRES = [
'mock'
]
if sys.version_info < (3, 4):
INSTALL_REQUIRES.extend([
'enum34',
])
with open('betfairlightweight/__init__.py', 'r') as f:
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
f.read(),
re.MULTILINE
).group(1)
setup(
name='betfairlightweight',
version=version,
packages=[
'betfairlightweight',
'betfairlightweight.endpoints',
'betfairlightweight.resources',
'betfairlightweight.streaming',
],
package_dir={
'betfairlightweight': 'betfairlightweight'
},
install_requires=INSTALL_REQUIRES,
url='https://github.com/liampauling/betfair',
license='MIT',
author='liampauling',
author_email='',
description='Lightweight python wrapper for Betfair API-NG',
classifiers=[
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
test_suite='tests'
)