Skip to content
Myr

Makefile

This file

Path

Makefile

68 lines · 1.9 KiB

Last changed by

Merge pull request #594 from slingamn/makefile_againKenneth Reitzbefore adoption0308a28

History of this file

Take it

The walk stopped after 200 commits: lines older than dacaae5 point at it.

bytes data fix for python3Kenneth Reitzbefore adoptiondacaae5

lines 1–2why, one step back
1SHELL := /bin/bash
2

Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2

line 3why, one step back
3# these files should pass pyflakes

Merge pull request #587 from slingamn/jenkinsKenneth Reitzbefore adoption7f571f5

lines 4–6why, one step back
4# exclude ./env/, which may contain virtualenv packages
5PYFLAKES_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 back
7 ! -path "./requests/__init__.py" ! -path "./requests/compat.py")
8

Merge pull request #594 from slingamn/makefile_againKenneth Reitzbefore adoption0308a28

lines 9–15why, one step back
9# hack: if pyflakes is available, set this to the location of pyflakes
10# 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 )15

Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2

lines 16–19why, one step back
16# test_requests_ext.py depends on external services, and async doesn't work under Python 3
17# 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")19

bytes data fix for python3Kenneth Reitzbefore adoptiondacaae5

lines 20–24why, one step back
20init:
21 python setup.py develop22 pip install -r requirements.txt2324test:

rudolf the red-nosed reindeerKenneth Reitzbefore adoption4a5c94f

line 25why, one step back
25 nosetests ./tests/*

bytes data fix for python3Kenneth Reitzbefore adoptiondacaae5

lines 26–27why, one step back
26
27lazy:

simpleciKenneth Reitzbefore adoptiond6c2d8f

lines 28–30why, one step back
28 nosetests --with-color tests/test_requests.py
2930simple:

Merge branch 'master' into developKenneth Reitzbefore adoption7234c72

line 31why, one step back
31 nosetests tests/test_requests.py

bytes data fix for python3Kenneth Reitzbefore adoptiondacaae5

line 32why, one step back
32

Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2

lines 33–34why, one step back
33pyflakes:
34 pyflakes ${PYFLAKES_WHITELIST}

Merge pull request #572 from slingamn/chardet_2Kenneth Reitzbefore adoptiona3e5563

line 35why, one step back
35

Merge pull request #594 from slingamn/makefile_againKenneth Reitzbefore adoption0308a28

lines 36–38why, one step back
36cipyflakes:
37 ${PYFLAKES_IF_AVAILABLE} ${PYFLAKES_WHITELIST}38

Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2

lines 39–41why, one step back
39citests:
40 nosetests ${CI_TESTS} --with-xunit --xunit-file=junit-report.xml41

Merge pull request #594 from slingamn/makefile_againKenneth Reitzbefore adoption0308a28

line 42why, one step back
42ci: citests cipyflakes

Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2

lines 43–45why, one step back
43
44travis: citests45

bytes data fix for python3Kenneth Reitzbefore adoptiondacaae5

lines 46–48why, one step back
46server:
47 gunicorn httpbin:app --bind=0.0.0.0:7077 &48

Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2

lines 49–53why, one step back
49# compute statistics of various kinds
50lemonade: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.py

bytes data fix for python3Kenneth Reitzbefore adoptiondacaae5

lines 54–57why, one step back
54
55site:56 cd docs; make dirhtml57

Merge pull request #579 from slingamn/pyflakes.releaseKenneth Reitzbefore adoption3d373e2

lines 58–59why, one step back
58clean:
59 git clean -Xfd

bytes data fix for python3Kenneth Reitzbefore adoptiondacaae5

lines 60–63why, one step back
60
61deps:62 rm -fr requests/packages/urllib363 git clone https://github.com/shazow/urllib3.git

new urllib3 versionKenneth Reitzbefore adoption2bae0d2

line 64why, one step back
64 cd urllib3 && git checkout master && cd ..

bytes data fix for python3Kenneth Reitzbefore adoptiondacaae5

lines 65–68why, one step back
65 mv urllib3/urllib3 requests/packages/
66 rm -fr urllib36768docs: site