Merge pull request #3862 from mattkohl/master

Updated docs for Pipenv
This commit is contained in:
Cory Benfield
2017-02-10 12:19:01 +00:00
committed by GitHub
5 changed files with 21 additions and 13 deletions
+1
View File
@@ -176,3 +176,4 @@ Patches and Suggestions
- Casey Davidson (`@davidsoncasey <https://github.com/davidsoncasey>`_)
- Andrii Soldatenko (`@a_soldatenko <https://github.com/andriisoldatenko>`_)
- Moinuddin Quadri <moin18@gmail.com> (`@moin18 <https://github.com/moin18>`_)
- Matt Kohl (`@mattkohl <https://github.com/mattkohl>`_)
+1 -1
View File
@@ -1 +1 @@
include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt requests/cacert.pem
include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requests/cacert.pem
-4
View File
@@ -52,10 +52,6 @@ publish:
twine upload dist/*
rm -fr build dist .egg requests.egg-info
docs-init:
pip install -r docs/requirements.txt
docs:
cd docs && make html
@echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"
+3 -2
View File
@@ -3,10 +3,11 @@ url = "https://pypi.python.org/simple"
verify_ssl = true
[dev-packages]
pytest = "*"
pytest = ">=2.8.0"
codecov = "*"
pytest-httpbin = "*"
pytest-httpbin = "==0.0.7"
sphinx = "*"
pytest-mock = "*"
pytest-cov = "*"
pysocks = "*"
alabaster = "*"
+16 -6
View File
@@ -23,13 +23,23 @@ Development Dependencies
You'll need to install py.test in order to run the Requests' test suite::
$ pip install -r requirements.txt
$ py.test
platform darwin -- Python 2.7.3 -- pytest-2.3.4
collected 25 items
$ pip install pipenv
$ pipenv lock
$ pipenv install --dev
$ pipenv run py.test tests
============================= test session starts ==============================
platform darwin -- Python 3.4.4, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
...
collected 445 items
test_requests.py .........................
25 passed in 3.50 seconds
tests/test_hooks.py ...
tests/test_lowlevel.py ............
tests/test_requests.py ...........................................................
tests/test_structures.py ....................
tests/test_testserver.py ...........
tests/test_utils.py ..s...........................................................
============== 442 passed, 1 skipped, 2 xpassed in 46.48 seconds ===============
Runtime Environments
--------------------