blob: e021d65157c2f19b606745f2bd2ae1bce609b08a [file] [log] [blame]
Joe Gregorioe202d212009-07-16 14:57:52 -04001tests:
Joe Gregorio0abd39f2011-02-13 21:40:09 -05002 -cd python2 && python2.4 httplib2test.py
Joe Gregorio1b828b52011-02-13 10:42:38 -05003 -cd python2 && python2.5 httplib2test.py
Joe Gregorio0abd39f2011-02-13 21:40:09 -05004 -cd python2 && python2.6 httplib2test.py
5 -cd python3 && python3.1 httplib2test.py
Joe Gregorioa3934ae2011-06-06 16:39:56 -04006 -cd python3 && python3.2 httplib2test.py
Joe Gregorio68cd8982009-08-04 13:41:44 -04007
Joe Gregorio16db63a2009-12-24 09:51:30 -05008VERSION = $(shell python setup.py --version)
9DST = dist/httplib2-$(VERSION)
Joe Gregorio25dffef2009-12-24 10:06:02 -050010
jcgregorio2d66d4f2006-02-07 05:34:14 +000011release:
Joe Gregorio843fe952009-12-28 13:02:42 -050012 -find . -name "*.pyc" | xargs rm
13 -find . -name "*.orig" | xargs rm
14 -rm -rf python2/.cache
15 -rm -rf python3/.cache
Joe Gregorio16db63a2009-12-24 09:51:30 -050016 -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)
26
jcgregorio076f54d2006-07-03 17:34:16 +000027doc:
jcgregorio88ada9a2007-05-03 13:20:38 +000028 #pudge -v -f --modules=httplib2 --dest=build/doc
Joe Gregoriofebf52d2009-12-24 09:05:42 -050029
joe.gregorio5fcc1992007-10-23 15:12:17 +000030register:
31 python setup.py register