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 |
| 5 | cd python3 && python3.2 httplib2test.py |
Joe Gregorio | 68cd898 | 2009-08-04 13:41:44 -0400 | [diff] [blame] | 6 | |
Joe Gregorio | 16db63a | 2009-12-24 09:51:30 -0500 | [diff] [blame] | 7 | VERSION = $(shell python setup.py --version) |
| 8 | DST = dist/httplib2-$(VERSION) |
Joe Gregorio | 25dffef | 2009-12-24 10:06:02 -0500 | [diff] [blame] | 9 | |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 10 | release: |
Joe Gregorio | 843fe95 | 2009-12-28 13:02:42 -0500 | [diff] [blame] | 11 | -find . -name "*.pyc" | xargs rm |
| 12 | -find . -name "*.orig" | xargs rm |
| 13 | -rm -rf python2/.cache |
| 14 | -rm -rf python3/.cache |
Joe Gregorio | 16db63a | 2009-12-24 09:51:30 -0500 | [diff] [blame] | 15 | -mkdir dist |
| 16 | -rm -rf dist/httplib2-$(VERSION) |
| 17 | -rm dist/httplib2-$(VERSION).tar.gz |
| 18 | -rm dist/httplib2-$(VERSION).zip |
| 19 | -mkdir dist/httplib2-$(VERSION) |
| 20 | cp -r python2 $(DST) |
| 21 | cp -r python3 $(DST) |
| 22 | cp setup.py README MANIFEST CHANGELOG $(DST) |
| 23 | cd dist && tar -czv -f httplib2-$(VERSION).tar.gz httplib2-$(VERSION) |
| 24 | cd dist && zip httplib2-$(VERSION).zip -r httplib2-$(VERSION) |
| 25 | |
jcgregorio | 076f54d | 2006-07-03 17:34:16 +0000 | [diff] [blame] | 26 | doc: |
jcgregorio | 88ada9a | 2007-05-03 13:20:38 +0000 | [diff] [blame] | 27 | #pudge -v -f --modules=httplib2 --dest=build/doc |
Joe Gregorio | febf52d | 2009-12-24 09:05:42 -0500 | [diff] [blame] | 28 | |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 29 | register: |
| 30 | python setup.py register |