Add makefile to get latest idna release.

This commit is contained in:
Cory Benfield
2016-10-14 10:10:17 +01:00
parent 8f37cf79c3
commit dfb4ef7be0
+10 -1
View File
@@ -17,7 +17,7 @@ ci: init
certs:
curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifact/cacerts.pem -o requests/cacert.pem
deps: urllib3 chardet
deps: urllib3 chardet idna
urllib3:
git clone https://github.com/shazow/urllib3.git && rm -fr requests/packages/urllib3 && mv urllib3/urllib3 requests/packages/ && rm -fr urllib3
@@ -25,6 +25,15 @@ urllib3:
chardet:
git clone https://github.com/chardet/chardet.git && rm -fr requests/packages/chardet && mv chardet/chardet requests/packages/ && rm -fr chardet
idna:
git clone https://github.com/kjd/idna.git && \
rm -fr requests/packages/idna && \
cd idna && \
git checkout `git describe --abbrev=0 --tags` && \
cd .. && \
mv idna/idna requests/packages/ && \
rm -fr idna
publish:
python setup.py register
python setup.py sdist upload