forked from robinj/stubo-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
70 lines (63 loc) · 1.85 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
import os
from setuptools import setup, find_packages
from stubo import version_info
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'tornado==4.1',
'futures>=2.2.0',
'redis',
'pymongo==3.0',
'statsd',
'pytz',
'requests>=2.4.3',
'lxml',
'jsonpath-rw',
'python-dateutil>=2.2',
'Pygments',
'dogpile.cache',
'matchers',
'PyYAML',
# testing
'ming',
'pylint',
'coverage',
'nose',
'nosexcover',
'mock',
# performance profiling
'plop',
'yappi',
# docs
'Sphinx',
]
setup(name='stubo',
version=".".join(map(str, version_info)),
description='Stubo',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
],
url='stubomatic.net',
license='LICENSE.txt',
keywords='Stub-O-Matic stubo tester testing service virtualisation',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires = requires,
tests_require= requires,
test_suite="stubo",
entry_points = """\
[console_scripts]
stubo = stubo.scripts.service:run_stubo_app
export_stubs = stubo.scripts.scenario:export_stubs
list_stubs = stubo.scripts.scenario:list_stubs
stub_count = stubo.scripts.scenario:stub_count
latency_pcent = stubo.scripts.stats:latency_pcent
delete_test_dbs = stubo.scripts.admin:delete_test_dbs
create_tracker_collection = stubo.scripts.admin:create_tracker_collection
purge_stubs = stubo.scripts.admin:purge_stubs
"""
)