mitmproxy/setup.py

66 lines
2.1 KiB
Python
Raw Normal View History

2014-10-01 22:05:29 +00:00
from setuptools import setup, find_packages
from codecs import open
import os
2012-04-29 09:30:48 +00:00
from libpathod import version
2014-10-01 22:05:29 +00:00
# Based on https://github.com/pypa/sampleproject/blob/master/setup.py
# and https://python-packaging-user-guide.readthedocs.org/
2014-08-30 16:07:13 +00:00
2014-10-01 22:05:29 +00:00
here = os.path.abspath(os.path.dirname(__file__))
2012-04-29 09:30:48 +00:00
2014-10-01 22:05:29 +00:00
with open(os.path.join(here, 'README.txt'), encoding='utf-8') as f:
long_description = f.read()
2012-04-29 09:30:48 +00:00
setup(
2014-08-30 16:07:13 +00:00
name="pathod",
version=version.VERSION,
description="A pathological HTTP/S daemon for testing and stressing clients.",
long_description=long_description,
2014-10-01 22:05:29 +00:00
url="http://pathod.net",
2014-08-30 16:07:13 +00:00
author="Aldo Cortesi",
author_email="aldo@corte.si",
2014-10-01 22:05:29 +00:00
license="MIT",
2014-08-30 16:07:13 +00:00
classifiers=[
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
2015-06-16 01:18:52 +00:00
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
2014-08-30 16:07:13 +00:00
"Topic :: Internet",
2014-10-01 22:05:29 +00:00
"Topic :: Internet :: WWW/HTTP",
2014-08-30 16:07:13 +00:00
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Traffic Generation",
],
2014-10-01 22:05:29 +00:00
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
2015-06-08 14:03:33 +00:00
"pathod = libpathod.pathod_cmdline:go_pathod",
"pathoc = libpathod.pathoc_cmdline:go_pathoc"
2014-10-01 22:05:29 +00:00
]
},
2014-08-30 16:07:13 +00:00
install_requires=[
2014-11-11 11:28:08 +00:00
"netlib>=%s, <%s" % (version.MINORVERSION, version.NEXT_MINORVERSION),
# It's INSANE that we have to do this, but...
# FIXME: Requirement to be removed at next release
"pip>=1.5.6",
"requests>=2.8.1, <2.9",
"Flask>=0.10.1, <0.11",
"pyparsing>=2.0.5, <2.1"
2014-08-30 16:07:13 +00:00
],
2014-08-30 16:16:16 +00:00
extras_require={
2014-08-30 16:07:13 +00:00
'dev': [
"mock>=1.0.1",
"pytest>=2.8.0",
"pytest-xdist>=1.13.1",
"pytest-cov>=2.1.0",
2014-08-30 16:07:13 +00:00
"coveralls>=0.4.1"
]
}
2012-04-29 09:30:48 +00:00
)