Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: recipe_engine/third_party/requests/Makefile

Issue 2164713003: Vendor requests. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Fix deps.pyl Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 .PHONY: docs
2
3 init:
4 pip install -r requirements.txt
5
6 test:
7 # This runs all of the tests. To run an individual test, run py.test wit h
8 # the -k flag, like "py.test -k test_path_is_not_double_encoded"
9 py.test tests
10
11 coverage:
12 py.test --verbose --cov-report term --cov=requests tests
13
14 ci: init
15 py.test --junitxml=junit.xml
16
17 certs:
18 curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifa ct/cacerts.pem -o requests/cacert.pem
19
20 deps: urllib3 chardet
21
22 urllib3:
23 git clone https://github.com/shazow/urllib3.git && rm -fr requests/packa ges/urllib3 && mv urllib3/urllib3 requests/packages/ && rm -fr urllib3
24
25 chardet:
26 git clone https://github.com/chardet/chardet.git && rm -fr requests/pack ages/chardet && mv chardet/chardet requests/packages/ && rm -fr chardet
27
28 publish:
29 python setup.py register
30 python setup.py sdist upload
31 python setup.py bdist_wheel --universal upload
32 rm -fr build dist .egg requests.egg-info
33
34
35 docs-init:
36 pip install -r docs/requirements.txt
37
38 docs:
39 cd docs && make html
40 @echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_bui ld/html/index.html.\n\033[0m"
OLDNEW
« no previous file with comments | « recipe_engine/third_party/requests/MANIFEST.in ('k') | recipe_engine/third_party/requests/NOTICE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698