-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
49 lines (42 loc) · 1.14 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
#!/usr/bin/env python
# encoding: utf-8
"""
tempoiq-python/setup.py
Copyright (c) 2012-2015 TempoDB Inc. All rights reserved.
"""
import re
from setuptools import setup
install_requires = [
'python-dateutil >=2.4',
'requests >=2.5, !=2.6.1, !=2.6.2',
'simplejson >=3.6',
'pytz',
'sphinx',
'coverage'
]
tests_require = [
'mock',
'unittest2',
]
version = ''
with open('tempoiq/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
setup(
name="tempoiq",
version=version,
author="TempoIQ Inc",
author_email="[email protected]",
url="http://github.com/tempoiq/tempoiq-python/",
description="Python bindings for the TempoIQ API",
packages=["tempoiq", "tempoiq.temporal", "tempoiq.protocol",
"tempoiq.protocol.query"],
long_description="Python bindings for the TempoIQ API",
dependency_links=[
],
setup_requires=['nose>=1.0'],
install_requires=install_requires,
tests_require=tests_require,
)