From 4bd16b0c9cc6b61cbe747909a2e93cfbd5fecb69 Mon Sep 17 00:00:00 2001 From: Andreas Zeidler Date: Sat, 24 Sep 2011 19:05:24 +0200 Subject: [PATCH] Add makefile for testing installation via `easy_install` --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2f73374 --- /dev/null +++ b/Makefile @@ -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