mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
remove compatible version specifiers
This commit is contained in:
parent
dffc7e7450
commit
db719f1673
@ -16,6 +16,9 @@ This was tested on a fully patched installation of Ubuntu 14.04.
|
|||||||
|
|
||||||
Once installation is complete you can run :ref:`mitmproxy` or :ref:`mitmdump` from a terminal.
|
Once installation is complete you can run :ref:`mitmproxy` or :ref:`mitmdump` from a terminal.
|
||||||
|
|
||||||
|
On **Ubuntu 12.04** (and other systems with an outdated version of pip),
|
||||||
|
you may need to update pip using ``pip install -U pip`` before installing mitmproxy.
|
||||||
|
|
||||||
Installation From Source (Ubuntu)
|
Installation From Source (Ubuntu)
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
66
setup.py
66
setup.py
@ -50,55 +50,55 @@ setup(
|
|||||||
# https://packaging.python.org/en/latest/requirements/#install-requires
|
# https://packaging.python.org/en/latest/requirements/#install-requires
|
||||||
# It is not considered best practice to use install_requires to pin dependencies to specific versions.
|
# It is not considered best practice to use install_requires to pin dependencies to specific versions.
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"netlib~={}".format(version.VERSION),
|
"netlib>={}, <{}".format(version.MINORVERSION, version.NEXT_MINORVERSION),
|
||||||
"h2~=2.1.0",
|
"h2>=2.1.0, <2.2",
|
||||||
"tornado~=4.3.0",
|
"tornado>=4.3, <4.4",
|
||||||
"configargparse~=0.10.0",
|
"configargparse>=0.10, <0.11",
|
||||||
"pyperclip~=1.5.22",
|
"pyperclip>=1.5.22, <1.6",
|
||||||
"blinker~=1.4.0",
|
"blinker>=1.4, <1.5",
|
||||||
"pyparsing~=2.0.5",
|
"pyparsing>=2.0.5, <2.1",
|
||||||
"html2text~=2016.1.8",
|
"html2text==2016.1.8",
|
||||||
"construct~=2.5.2",
|
"construct>=2.5.2, <2.6",
|
||||||
"six~=1.10.0",
|
"six>=1.10, <1.11",
|
||||||
"Pillow~=3.0.0",
|
"Pillow>=3.1, <3.2",
|
||||||
"watchdog~=0.8.3",
|
"watchdog>=0.8.3, <0.9",
|
||||||
"click~=6.2",
|
"click>=6.2, <7.0",
|
||||||
"urwid~=1.3.1",
|
"urwid>=1.3.1, <1.4",
|
||||||
],
|
],
|
||||||
extras_require={
|
extras_require={
|
||||||
':sys_platform == "win32"': [
|
':sys_platform == "win32"': [
|
||||||
"pydivert~=0.0.7",
|
"pydivert>=0.0.7, <0.1",
|
||||||
"lxml==3.4.4", # there are no Windows wheels for newer versions, so we pin this.
|
"lxml==3.4.4", # there are no Windows wheels for newer versions, so we pin this.
|
||||||
],
|
],
|
||||||
':sys_platform != "win32"': [
|
':sys_platform != "win32"': [
|
||||||
"lxml~=3.5.0",
|
"lxml>=3.5.0, <3.6",
|
||||||
],
|
],
|
||||||
# Do not use a range operator here: https://bitbucket.org/pypa/setuptools/issues/380
|
# Do not use a range operator here: https://bitbucket.org/pypa/setuptools/issues/380
|
||||||
# Ubuntu Trusty and other still ship with setuptools < 17.1
|
# Ubuntu Trusty and other still ship with setuptools < 17.1
|
||||||
':python_version == "2.7"': [
|
':python_version == "2.7"': [
|
||||||
"enum34~=1.0.4",
|
"enum34>=1.0.4, <1.1",
|
||||||
],
|
],
|
||||||
'dev': [
|
'dev': [
|
||||||
"mock~=1.0.1",
|
"mock>=1.3.0, <1.4",
|
||||||
"pytest~=2.8.0",
|
"pytest>=2.8.7, <2.9",
|
||||||
"pytest-xdist~=1.13.1",
|
"pytest-xdist>=1.14, <1.15",
|
||||||
"pytest-cov~=2.1.0",
|
"pytest-cov>=2.2.1, <2.3",
|
||||||
"pytest-timeout~=1.0.0",
|
"pytest-timeout>=1.0.0, <1.1",
|
||||||
"coveralls~=0.4.1",
|
"coveralls>=1.1, <1.2",
|
||||||
"pathod~={}".format(version.VERSION),
|
"pathod>={}, <{}".format(version.MINORVERSION, version.NEXT_MINORVERSION),
|
||||||
"sphinx~=1.3.1",
|
"sphinx>=1.3.5, <1.4",
|
||||||
"sphinx-autobuild~=0.5.2",
|
"sphinx-autobuild>=0.5.2, <0.6",
|
||||||
"sphinxcontrib-documentedlist~=0.2.0"
|
"sphinxcontrib-documentedlist>=0.2.0, <0.3"
|
||||||
],
|
],
|
||||||
'contentviews': [
|
'contentviews': [
|
||||||
"pyamf~=0.7.2",
|
"pyamf>=0.7.2, <0.8",
|
||||||
"protobuf~=2.6.1",
|
"protobuf>=2.6.1, <2.7",
|
||||||
"cssutils~=1.0.1"
|
"cssutils>=1.0.1, <1.1"
|
||||||
],
|
],
|
||||||
'examples': [
|
'examples': [
|
||||||
"pytz~=2015.7.0",
|
"pytz==2015.7.0",
|
||||||
"harparser~=0.2",
|
"harparser>=0.2, <0.3",
|
||||||
"beautifulsoup4~=4.4.1",
|
"beautifulsoup4>=4.4.1, <4.5",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user