-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
72 lines (60 loc) · 1.45 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
from __future__ import unicode_literals
import os
import re
import setuptools
version = (
re
.compile(r".*__version__ = '(.*?)'", re.S)
.match(open('petitioners/__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 = [
'coid==0.1.0',
'ohmr==0.1.0',
'Flask'
]
extras_require = {
'tests': [
'nose',
'pytest',
'pyflakes',
'webtest',
'WSGIProxy2',
'mock',
'ipdb'
]
}
scripts = [
]
setuptools.setup(
name='petitioners',
version=version,
description='auditable tracing for linking requests between services',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"License :: OSI Approved :: MIT License",
],
author='Balanced',
author_email='[email protected]',
license=(
'The MIT License: http://www.opensource.org/licenses/mit-license.php'
),
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',
)