Skip to content
Myr

Makefile

This file

Path

Makefile

59 lines · 1.6 KiB

Last changed by

let's see if this worksKenneth Reitzbefore adoptionc00783c

History of this file

Take 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 back
1.PHONY: docs
23init:

let's see if this worksKenneth Reitzbefore adoptionc00783c

lines 4–5why, one step back
4 pip install pipenv>=0.1.6
5 pipenv install --dev

pass go, yay $200Kenneth Reitzbefore adoptiona7b5e31

lines 6–9why, one step back
6
7test: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 back
10 pipenv run py.test tests

pass go, yay $200Kenneth Reitzbefore adoptiona7b5e31

lines 11–12why, one step back
11
12coverage:

let's see if this worksKenneth Reitzbefore adoptionc00783c

line 13why, one step back
13 pipenv run py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests

pass go, yay $200Kenneth Reitzbefore adoptiona7b5e31

lines 14–17why, one step back
14
15certs:16 curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifact/cacerts.pem -o requests/cacert.pem17

Merge pull request #3620 from Lukasa/better-idnaCory Benfieldbefore adoption50486cf

line 18why, one step back
18deps: urllib3 chardet idna

pass go, yay $200Kenneth Reitzbefore adoptiona7b5e31

lines 19–20why, one step back
19
20urllib3:

Merge pull request #3622 from Lukasa/better-makefileIan Cordascobefore adoptionc13e313

lines 21–27why, one step back
21 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 urllib3

pass go, yay $200Kenneth Reitzbefore adoptiona7b5e31

lines 28–29why, one step back
28
29chardet:

Merge pull request #3622 from Lukasa/better-makefileIan Cordascobefore adoptionc13e313

lines 30–36why, one step back
30 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 chardet

Merge pull request #3620 from Lukasa/better-idnaCory Benfieldbefore adoption50486cf

lines 37–45why, one step back
37
38idna: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 idna

pass go, yay $200Kenneth Reitzbefore adoptiona7b5e31

lines 46–49why, one step back
46
47publish:48 python setup.py register49 python setup.py sdist upload

Merge pull request #3622 from Lukasa/better-makefileIan Cordascobefore adoptionc13e313

line 50why, one step back
50 python setup.py bdist_wheel --universal upload

pass go, yay $200Kenneth Reitzbefore adoptiona7b5e31

lines 51–59why, one step back
51 rm -fr build dist .egg requests.egg-info
525354docs-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"