This repository has been archived by the owner on Dec 23, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
61 lines (56 loc) · 1.92 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
import os
from setuptools import setup
metadata = {}
with open(os.path.join('turq', '__metadata__.py'), 'r') as f:
exec(f.read(), metadata) # pylint: disable=exec-used
with open('README.rst') as f:
long_description = f.read()
setup(
name='turq',
version=metadata['version'],
description='Mock HTTP server',
long_description=long_description,
url='https://github.com/vfaronov/turq',
author='Vasiliy Faronov',
author_email='[email protected]',
license='ISC',
# Do not care about the ugliness of hardcoding all these names
# because any discrepancies will be caught by check-manifest.
packages=['turq', 'turq.util'],
package_data={
'turq': [
'editor/*.tpl', 'editor/*.css', 'editor/*.js',
'editor/codemirror/lib/*.css', 'editor/codemirror/lib/*.js',
'editor/codemirror/mode/python/*.js',
'editor/codemirror/addon/runmode/*.js',
'examples.rst',
],
},
entry_points={'console_scripts': ['turq=turq.main:main']},
install_requires=[
'h11 >= 0.7.0',
'falcon >= 1.1.0',
'dominate >= 2.3.1',
'Werkzeug >= 0.12.1',
'docutils >= 0.13.1',
'colorlog >= 2.10.0',
],
extras_require={
':sys_platform == "win32"': [
'colorama >= 0.3.7', # for colorlog
],
},
classifiers=[
'Development Status :: 7 - Inactive',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP :: HTTP Servers',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
],
keywords='HTTP Web server mock mocking test debug',
)