Makefile
This file
Path
Makefile
80 lines · 2.2 KiB
Last changed by
charadeKenneth Reitzbefore adoption6ead850
History of this fileTake it
The walk stopped after 200 commits: lines older than 38e6695 point at it.
Merge pull request #581 from crodjer/developKenneth Reitzbefore adoption38e6695
lines 1–2why, one step back1SHELL := /bin/bash2Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2
line 3why, one step back3# these files should pass pyflakesMerge pull request #587 from slingamn/jenkinsKenneth Reitzbefore adoption7f571f5
lines 4–6why, one step back4# exclude ./env/, which may contain virtualenv packages5PYFLAKES_WHITELIST=$(shell find . -name "*.py" ! -path "./docs/*" ! -path "./tests/*" \6 ! -path "./requests/packages/*" ! -path "./env/*" \Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2
lines 7–8why, one step back7 ! -path "./requests/__init__.py" ! -path "./requests/compat.py")8Merge pull request #594 from slingamn/makefile_againKenneth Reitzbefore adoption0308a28
lines 9–15why, one step back9# hack: if pyflakes is available, set this to the location of pyflakes10# if it's not, e.g., in the Python 3 or PyPy Jenkins environments, set it to11# the location of the no-op `true` command.12PYFLAKES_IF_AVAILABLE=$(shell if which pyflakes > /dev/null ; \13 then which pyflakes; \14 else which true; fi )15Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2
lines 16–19why, one step back16# test_requests_ext.py depends on external services, and async doesn't work under Python 317# Travis/Jenkins should be ensuring that all other tests pass on all supported versions18CI_TESTS=$(shell find tests/ -name "*.py" ! -name "test_requests_ext.py" ! -name "test_requests_async.py")19Merge pull request #581 from crodjer/developKenneth Reitzbefore adoption38e6695
lines 20–32why, one step back20init:21 python setup.py develop22 pip install -r requirements.txt2324test:25 nosetests ./tests/*2627lazy:28 nosetests --with-color tests/test_requests.py2930simple:31 nosetests tests/test_requests.py32Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2
lines 33–34why, one step back33pyflakes:34 pyflakes ${PYFLAKES_WHITELIST}Merge pull request #581 from crodjer/developKenneth Reitzbefore adoption38e6695
line 35why, one step back35Merge pull request #594 from slingamn/makefile_againKenneth Reitzbefore adoption0308a28
lines 36–38why, one step back36cipyflakes:37 ${PYFLAKES_IF_AVAILABLE} ${PYFLAKES_WHITELIST}38Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2
lines 39–41why, one step back39citests:40 nosetests ${CI_TESTS} --with-xunit --xunit-file=junit-report.xml41Merge pull request #594 from slingamn/makefile_againKenneth Reitzbefore adoption0308a28
line 42why, one step back42ci: citests cipyflakesMerge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2
lines 43–45why, one step back4344travis: citests45Merge pull request #581 from crodjer/developKenneth Reitzbefore adoption38e6695
lines 46–48why, one step back46server:47 gunicorn httpbin:app --bind=0.0.0.0:7077 &48Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2
lines 49–53why, one step back49# compute statistics of various kinds50lemonade:51 -pyflakes requests > violations.pyflakes.txt52 # HTML output will be available in the default location, ./cover/53 nosetests --with-coverage --cover-html --cover-package=requests ${CI_TESTS} ./tests/test_requests_async.pyMerge pull request #581 from crodjer/developKenneth Reitzbefore adoption38e6695
lines 54–57why, one step back5455site:56 cd docs; make dirhtml57Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2
lines 58–59why, one step back58clean:59 git clean -XfdMerge pull request #581 from crodjer/developKenneth Reitzbefore adoption38e6695
line 60why, one step back60charadeKenneth Reitzbefore adoption6ead850
line 61why, one step back61deps: urllib3 certs charadeoauthlibKenneth Reitzbefore adoption9576518
lines 62–63why, one step back6263urllib3:Merge pull request #581 from crodjer/developKenneth Reitzbefore adoption38e6695
lines 64–69why, one step back64 rm -fr requests/packages/urllib365 git clone https://github.com/shazow/urllib3.git66 cd urllib3 && git checkout master && cd ..67 mv urllib3/urllib3 requests/packages/68 rm -fr urllib369charadeKenneth Reitzbefore adoption6ead850
lines 70–75why, one step back70charade:71 rm -fr requests/packages/charade72 git clone https://github.com/sigmavirus24/charade.git73 cd charade && git checkout master && cd ..74 mv charade/charade requests/packages/75 rm -fr charadeoauthlibKenneth Reitzbefore adoption9576518
line 76why, one step back76include certifiKenneth Reitzbefore adoptionc3ad7af
line 77why, one step back77certs:oauthlibKenneth Reitzbefore adoption9576518
line 78why, one step back78 cd requests && curl -O https://raw.github.com/kennethreitz/certifi/master/certifi/cacert.peminclude certifiKenneth Reitzbefore adoptionc3ad7af
line 79why, one step back79Merge pull request #581 from crodjer/developKenneth Reitzbefore adoption38e6695
line 80why, one step back80docs: site