Joe Gregorio | e202d21 | 2009-07-16 14:57:52 -0400 | [diff] [blame] | 1 | tests: |
Joe Gregorio | 732b11f | 2011-06-07 15:44:51 -0400 | [diff] [blame] | 2 | cd python2 && python2.4 httplib2test.py |
Joe Gregorio | 1b828b5 | 2011-02-13 10:42:38 -0500 | [diff] [blame] | 3 | -cd python2 && python2.5 httplib2test.py |
Joe Gregorio | 732b11f | 2011-06-07 15:44:51 -0400 | [diff] [blame] | 4 | cd python2 && python2.6 httplib2test.py |
Joe Gregorio | c9f35e6 | 2011-06-16 10:06:12 -0400 | [diff] [blame] | 5 | cd python2 && python2.7 httplib2test.py |
Joe Gregorio | 732b11f | 2011-06-07 15:44:51 -0400 | [diff] [blame] | 6 | cd python3 && python3.2 httplib2test.py |
Joe Gregorio | 68cd898 | 2009-08-04 13:41:44 -0400 | [diff] [blame] | 7 | |
Joe Gregorio | 16db63a | 2009-12-24 09:51:30 -0500 | [diff] [blame] | 8 | VERSION = $(shell python setup.py --version) |
| 9 | DST = dist/httplib2-$(VERSION) |
Joe Gregorio | 25dffef | 2009-12-24 10:06:02 -0500 | [diff] [blame] | 10 | |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 11 | release: |
Joe Gregorio | 843fe95 | 2009-12-28 13:02:42 -0500 | [diff] [blame] | 12 | -find . -name "*.pyc" | xargs rm |
| 13 | -find . -name "*.orig" | xargs rm |
| 14 | -rm -rf python2/.cache |
| 15 | -rm -rf python3/.cache |
Joe Gregorio | 16db63a | 2009-12-24 09:51:30 -0500 | [diff] [blame] | 16 | -mkdir dist |
| 17 | -rm -rf dist/httplib2-$(VERSION) |
| 18 | -rm dist/httplib2-$(VERSION).tar.gz |
| 19 | -rm dist/httplib2-$(VERSION).zip |
| 20 | -mkdir dist/httplib2-$(VERSION) |
| 21 | cp -r python2 $(DST) |
| 22 | cp -r python3 $(DST) |
| 23 | cp setup.py README MANIFEST CHANGELOG $(DST) |
| 24 | cd dist && tar -czv -f httplib2-$(VERSION).tar.gz httplib2-$(VERSION) |
| 25 | cd dist && zip httplib2-$(VERSION).zip -r httplib2-$(VERSION) |
Joe Gregorio | e0a3993 | 2011-06-13 14:47:34 -0400 | [diff] [blame] | 26 | python setup.py register |
Joe Gregorio | 6c50d6a | 2011-06-13 14:41:16 -0400 | [diff] [blame] | 27 | wget "http://support.googlecode.com/svn/trunk/scripts/googlecode_upload.py" -O googlecode_upload.py |
| 28 | python googlecode_upload.py --summary="Version $(shell python setup.py --version)" --project=httplib2 dist/*.tar.gz |
| 29 | python googlecode_upload.py --summary="Version $(shell python setup.py --version)" --project=httplib2 dist/*.zip |
Joe Gregorio | e34c25d | 2011-06-16 10:08:15 -0400 | [diff] [blame^] | 30 | |
| 31 | doc: |
| 32 | #pudge -v -f --modules=httplib2 --dest=build/doc |