blob: d66537384b8b11dada03a128a2498e7d09012f4e [file] [log] [blame]
Joe Gregorioe202d212009-07-16 14:57:52 -04001tests:
Joe Gregorio732b11f2011-06-07 15:44:51 -04002 cd python2 && python2.4 httplib2test.py
Joe Gregorio1b828b52011-02-13 10:42:38 -05003 -cd python2 && python2.5 httplib2test.py
Joe Gregorio732b11f2011-06-07 15:44:51 -04004 cd python2 && python2.6 httplib2test.py
5 cd python3 && python3.2 httplib2test.py
Joe Gregorio68cd8982009-08-04 13:41:44 -04006
Joe Gregorio16db63a2009-12-24 09:51:30 -05007VERSION = $(shell python setup.py --version)
8DST = dist/httplib2-$(VERSION)
Joe Gregorio25dffef2009-12-24 10:06:02 -05009
jcgregorio2d66d4f2006-02-07 05:34:14 +000010release:
Joe Gregorio843fe952009-12-28 13:02:42 -050011 -find . -name "*.pyc" | xargs rm
12 -find . -name "*.orig" | xargs rm
13 -rm -rf python2/.cache
14 -rm -rf python3/.cache
Joe Gregorio16db63a2009-12-24 09:51:30 -050015 -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
jcgregorio076f54d2006-07-03 17:34:16 +000026doc:
jcgregorio88ada9a2007-05-03 13:20:38 +000027 #pudge -v -f --modules=httplib2 --dest=build/doc
Joe Gregoriofebf52d2009-12-24 09:05:42 -050028
joe.gregorio5fcc1992007-10-23 15:12:17 +000029register:
30 python setup.py register