| OLD | NEW |
| (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" | |
| OLD | NEW |