Makefile
This file
Path
Makefile
59 lines · 1.6 KiB
Last changed by
let's see if this worksKenneth Reitzbefore adoptionc00783c
History of this fileTake it
The walk stopped after 200 commits: lines older than a7b5e31 point at it.
pass go, yay $200Kenneth Reitzbefore adoptiona7b5e31
lines 1–3why, one step back1.PHONY: docs23init:let's see if this worksKenneth Reitzbefore adoptionc00783c
lines 4–5why, one step back4 pip install pipenv>=0.1.65 pipenv install --devpass go, yay $200Kenneth Reitzbefore adoptiona7b5e31
lines 6–9why, one step back67test:8 # This runs all of the tests. To run an individual test, run py.test with9 # the -k flag, like "py.test -k test_path_is_not_double_encoded"let's see if this worksKenneth Reitzbefore adoptionc00783c
line 10why, one step back10 pipenv run py.test testspass go, yay $200Kenneth Reitzbefore adoptiona7b5e31
lines 11–12why, one step back1112coverage:let's see if this worksKenneth Reitzbefore adoptionc00783c
line 13why, one step back13 pipenv run py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests testspass go, yay $200Kenneth Reitzbefore adoptiona7b5e31
lines 14–17why, one step back1415certs:16 curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifact/cacerts.pem -o requests/cacert.pem17Merge pull request #3620 from Lukasa/better-idnaCory Benfieldbefore adoption50486cf
line 18why, one step back18deps: urllib3 chardet idnapass go, yay $200Kenneth Reitzbefore adoptiona7b5e31
lines 19–20why, one step back1920urllib3:Merge pull request #3622 from Lukasa/better-makefileIan Cordascobefore adoptionc13e313
lines 21–27why, one step back21 git clone https://github.com/shazow/urllib3.git && \22 rm -fr requests/packages/urllib3 && \23 cd urllib3 && \24 git checkout `git describe --abbrev=0 --tags` && \25 cd .. && \26 mv urllib3/urllib3 requests/packages/ \27 && rm -fr urllib3pass go, yay $200Kenneth Reitzbefore adoptiona7b5e31
lines 28–29why, one step back2829chardet:Merge pull request #3622 from Lukasa/better-makefileIan Cordascobefore adoptionc13e313
lines 30–36why, one step back30 git clone https://github.com/chardet/chardet.git && \31 rm -fr requests/packages/chardet && \32 cd chardet && \33 git checkout `git describe --abbrev=0 --tags` && \34 cd .. && \35 mv chardet/chardet requests/packages/ && \36 rm -fr chardetMerge pull request #3620 from Lukasa/better-idnaCory Benfieldbefore adoption50486cf
lines 37–45why, one step back3738idna:39 git clone https://github.com/kjd/idna.git && \40 rm -fr requests/packages/idna && \41 cd idna && \42 git checkout `git describe --abbrev=0 --tags` && \43 cd .. && \44 mv idna/idna requests/packages/ && \45 rm -fr idnapass go, yay $200Kenneth Reitzbefore adoptiona7b5e31
lines 46–49why, one step back4647publish:48 python setup.py register49 python setup.py sdist uploadMerge pull request #3622 from Lukasa/better-makefileIan Cordascobefore adoptionc13e313
line 50why, one step back50 python setup.py bdist_wheel --universal uploadpass go, yay $200Kenneth Reitzbefore adoptiona7b5e31
lines 51–59why, one step back51 rm -fr build dist .egg requests.egg-info525354docs-init:55 pip install -r docs/requirements.txt5657docs:58 cd docs && make html59 @echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"