Files
httpbin/setup.py
T
Brett Randall 6374680e72 Consolidated httpbin version string into a single location in file VERSION.
Also added the new VERSION file to the manifest.

Signed-off-by: Brett Randall <javabrett@gmail.com>
2018-06-29 22:04:22 +10:00

44 lines
1.3 KiB
Python

from setuptools import setup, find_packages
import os
import io
# long_description = io.open(
# os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8').read()
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=long_description,
# The project URL.
url='https://github.com/requests/httpbin',
# Author details
author='Kenneth Reitz',
author_email='me@kennethreitz.org',
# 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>=0.14.1', 'gevent', 'flasgger'
],
)