Skip to content

Commit

Permalink
Add makefile for testing installation via easy_install
Browse files Browse the repository at this point in the history
  • Loading branch information
witsch committed Sep 24, 2011
1 parent adee0e2 commit 4bd16b0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

test: sandbox/bin/pythontidy
sandbox/bin/pythontidy setup.py

sandbox/bin/pythontidy: dist/PythonTidy-1.21.zip sandbox/bin/easy_install
sandbox/bin/easy_install dist/PythonTidy-1.21.zip

dist/PythonTidy-1.21.zip:
python setup.py egg_info -RDb '' sdist --formats=zip

sandbox/bin/easy_install:
virtualenv --no-site-packages --distribute sandbox

clean:
rm -rf dist/ sandbox/

.PHONY: test clean

0 comments on commit 4bd16b0

Please sign in to comment.