forked from postmanlabs/httpbin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (35 loc) · 1.3 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
from setuptools import setup, find_packages
import os
import io
with open(os.path.join(os.path.realpath(os.path.dirname(__file__)), 'httpbin', 'VERSION')) as version_file:
version = version_file.read().strip()
setup(
name="httpbin",
version=version,
description="HTTP Request and Response Service",
long_description="A simple HTTP Request & Response Service, written in Python + Flask.",
# The project URL.
url='https://github.com/requests/httpbin',
# Author details
author='Kenneth Reitz',
author_email='[email protected]',
# Choose your license
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
],
test_suite="test_httpbin",
packages=find_packages(),
include_package_data = True, # include files listed in MANIFEST.in
install_requires=[
'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlipy',
'raven[flask]', 'werkzeug>=2.1', 'gevent', 'flasgger'
],
extras_require={'deploy': ['gunicorn']}
)