-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
79 lines (66 loc) · 1.58 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
from __future__ import unicode_literals
import os
import re
import setuptools
version = (
re
.compile(r".*__version__ = '(.*?)'", re.S)
.match(open('bob/__init__.py').read())
.group(1)
)
packages = [
str(s) for s in
setuptools.find_packages('.', exclude=('tests', 'tests.*'))
]
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
requires = [
'pyaml>=14.0.0,<15.0.0',
'thed>=0.1.5,<0.2',
'click>=2.0.0,<3.0.0',
'depot>=0.0.12,<0.1',
'boto>=2.32.0,<2.33',
'hipchat',
'configobj',
'pilo>=0.3.8,<0.4',
'semantic_version>=2.3.0,<2.4',
'gevent>=1.0.0,<1.1',
'uWSGI>=2.0.6,<2.1',
'chronicle[sentry]>=1.0.3,<1.1'
]
extras_require = {
'tests': [
'blumpkin>=0.4.0,<0.5.0',
'ipdb',
'webtest',
]
}
scripts = [
'bin/bob',
'bin/bobd',
]
setuptools.setup(
name='bobb',
version=version,
description='bob the builder',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
],
author='Balanced',
author_email='[email protected]',
packages=packages,
include_package_data=True,
zip_safe=False,
scripts=scripts,
install_requires=requires,
extras_require=extras_require,
tests_require=extras_require['tests'],
test_suite='nose.collector',
dependency_links=[
'http://github.com/tagged/python-hipchat/tarball/master#egg=hipchat'
]
)