Merge pull request #1841 from mitmproxy/fix-docs-tests
pin docutils version to fix docs tests
This commit is contained in:
commit
f16aab963e
|
@ -61,6 +61,7 @@ Installation On macOS
|
||||||
|
|
||||||
You can use Homebrew to install everything:
|
You can use Homebrew to install everything:
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
brew install mitmproxy
|
brew install mitmproxy
|
||||||
|
|
||||||
Or you can download the pre-built binary packages from `mitmproxy.org`_.
|
Or you can download the pre-built binary packages from `mitmproxy.org`_.
|
||||||
|
@ -86,17 +87,20 @@ If you already have an older version of Python 3.5 installed, make sure to insta
|
||||||
(pip is included in Python by default). If pip aborts with an error, make sure you are using the current version of pip.
|
(pip is included in Python by default). If pip aborts with an error, make sure you are using the current version of pip.
|
||||||
|
|
||||||
.. code:: powershell
|
.. code:: powershell
|
||||||
|
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
|
||||||
Next, add Python and the Python Scripts directory to your **PATH** variable.
|
Next, add Python and the Python Scripts directory to your **PATH** variable.
|
||||||
You can do this easily by running the following in powershell:
|
You can do this easily by running the following in powershell:
|
||||||
|
|
||||||
.. code:: powershell
|
.. code:: powershell
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27;C:\Python27\Scripts", "User")
|
[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27;C:\Python27\Scripts", "User")
|
||||||
|
|
||||||
Now, you can install mitmproxy by running
|
Now, you can install mitmproxy by running
|
||||||
|
|
||||||
.. code:: powershell
|
.. code:: powershell
|
||||||
|
|
||||||
pip install mitmproxy
|
pip install mitmproxy
|
||||||
|
|
||||||
Once the installation is complete, you can run :ref:`mitmdump` from a command prompt.
|
Once the installation is complete, you can run :ref:`mitmdump` from a command prompt.
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -106,6 +106,7 @@ setup(
|
||||||
"sphinx>=1.3.5, <1.6",
|
"sphinx>=1.3.5, <1.6",
|
||||||
"sphinx-autobuild>=0.5.2, <0.7",
|
"sphinx-autobuild>=0.5.2, <0.7",
|
||||||
"sphinxcontrib-documentedlist>=0.4.0, <0.5",
|
"sphinxcontrib-documentedlist>=0.4.0, <0.5",
|
||||||
|
"docutils==0.12", # temporary pin, https://github.com/chintal/sphinxcontrib-documentedlist/pull/3
|
||||||
"sphinx_rtd_theme>=0.1.9, <0.2",
|
"sphinx_rtd_theme>=0.1.9, <0.2",
|
||||||
],
|
],
|
||||||
'contentviews': [
|
'contentviews': [
|
||||||
|
|
Loading…
Reference in New Issue