-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
170dacb
commit 95274aa
Showing
5 changed files
with
53 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
自定义 | ||
Customize | ||
=========== | ||
|
||
自定义响应 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,23 @@ | ||
pre-request 安装 | ||
Installation | ||
==================== | ||
|
||
本部分文档将向您介绍如何安装pre-request框架到您的环境中 | ||
Python Version | ||
----------------- | ||
|
||
PIP安装 | ||
-------- | ||
We recommend using the latest version of python 3. pre-request supports Python 3.5 and newer and PyPy | ||
|
||
pre-request 目前支持PyPi安装方式,您仅需使用pip命令即可安装成功 | ||
|
||
.. code-block:: text | ||
Dependencies | ||
--------------- | ||
|
||
pip install pre-request | ||
This framework is designed for Flask, therefore Flask will be installed automatically when installing pre-request | ||
|
||
|
||
源码安装 | ||
-------- | ||
Install pre-request with pip | ||
------------------------------ | ||
|
||
如果您希望体验最新版本特性,您可以从github下载最新develop分支代码到您的本地直接安装 | ||
You can use the following command to install pre-request: | ||
|
||
.. code-block:: text | ||
python setup.py install | ||
如果您希望在本地以开发模式安装则可以使用以下命令 | ||
|
||
.. code-block:: text | ||
python setup.py develop | ||
本地whl包 | ||
---------- | ||
|
||
当然您也可以在本地构建 whl 进行分发 | ||
|
||
.. code-block:: text | ||
python setup.py sdist | ||
pip wheel --wheel-dir=./dist ./ | ||
pip install pre-request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters