~djfroofy/txaws/921421-completemultipart

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Duncan McGreggor
  • Date: 2012-01-27 07:04:32 UTC
  • mfrom: (111.5.9 920302-python2.5-compat)
  • Revision ID: duncan@dreamhost.com-20120127070432-9ywtuw041cm5yh6y
Final missing chunk of Python 2.5 compatibility fixes. The others were
committed prematurely to trunk in r124 and r125.

Reviewed by: Stephon Striplin
Fixes: https://bugs.launchpad.net/txaws/+bug/920302

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
        @python setup.py sdist
24
24
 
25
25
 
 
26
check-testcase-names:
 
27
        @echo "Checking for (possibly) badly named test cases..."
 
28
        @find ./txaws|xargs grep Test|grep class|grep -v 'TestCase('
 
29
 
 
30
 
26
31
virtual-dir-setup: VERSION ?= 2.7
27
32
virtual-dir-setup:
28
33
        -@test -d .venv-$(VERSION) || virtualenv -p $(PYBIN)$(VERSION) .venv-$(VERSION)
50
55
 
51
56
virtual-pep8: VERSION ?= 2.7
52
57
virtual-pep8:
53
 
        -. .venv-$(VERSION)/bin/activate && pep8 ./txaws
 
58
        -. .venv-$(VERSION)/bin/activate && pep8 --repeat ./txaws
54
59
 
55
60
 
56
61
virtual-pyflakes: VERSION ?= 2.7
82
87
        -@test -e "`which python2.5`" && VERSION=2.5 make virtual-check
83
88
        -@test -e "`which python2.6`" && VERSION=2.6 make virtual-check
84
89
        -@test -e "`which python2.7`" && VERSION=2.7 make virtual-check
 
90
        make check-testcase-names
85
91
 
86
92
 
87
93
virtual-uninstall: VERSION ?= 2.7