mitmproxy/pathod/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
import sys
2012-04-29 09:30:48 +00:00
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
sys.path.append(os.path.join(here, "..", "netlib"))
2016-02-16 19:59:33 +00:00
from pathod import version
with open(os.path.join(here, 'README.rst'), 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",
],
2016-02-16 03:28:10 +00:00
packages=find_packages(),
2014-10-01 22:05:29 +00:00
include_package_data=True,
entry_points={
'console_scripts': [
2016-02-16 19:59:33 +00:00
"pathod = pathod.pathod_cmdline:go_pathod",
"pathoc = pathod.pathoc_cmdline:go_pathoc"
2014-10-01 22:05:29 +00:00
]
},
2014-08-30 16:07:13 +00:00
install_requires=[
2016-02-15 23:22:38 +00:00
"netlib=={}".format(version.VERSION),
2016-02-05 22:42:37 +00:00
"requests>=2.9.1, <2.10",
"Flask>=0.10.1, <0.11",
2016-02-07 20:20:31 +00:00
"pyparsing>=2.1,<2.2"
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': [
2016-02-05 22:42:37 +00:00
"mock>=1.3.0, <1.4",
"pytest>=2.8.0",
2016-02-05 22:42:37 +00:00
"pytest-xdist>=1.14, <1.15",
"pytest-cov>=2.2.1, <2.3",
"pytest-timeout>=1.0.0, <1.1",
"coveralls>=1.1, <1.2"
2014-08-30 16:07:13 +00:00
]
}
2012-04-29 09:30:48 +00:00
)