summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2013-09-29 17:48:14 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2013-09-29 17:48:14 -0400
commitef7a80865f253852f7c7b01f04bc02b695ead67b (patch)
treeea718f746b5f9db4624057d1f0aa1df9abee8bd4 /Makefile
parent19346fa9068878af516cdb670bea4f791337507b (diff)
downloadlastfm-ef7a80865f253852f7c7b01f04bc02b695ead67b.tar.gz
Giving up on Python 2.5 support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e58b9b0..a09f992 100644
--- a/Makefile
+++ b/Makefile
@@ -8,10 +8,10 @@ FOPTIONS=$(OPTIONS) -h $(ALIVES)
.PHONY: alive deploy clean pink nuke
$(ALIVES) alive:
- pssh $(OPTIONS) -h $(HOSTS) "uname" -i | grep "\[SUCCESS\]"\
- | awk '{print $$4}' > $(ALIVES)
+ pssh $(OPTIONS) -h $(HOSTS) 'python2 --version 2>&1 | grep -E "(2\.6|2\.7)"'\
+ | grep "\[SUCCESS\]"\ | awk '{print $$4}' > $(ALIVES)
-deploy_libs: requests simplejson
+deploy_libs: requests
deploy_client: lastfm.py process.py
@@ -28,7 +28,7 @@ distclean:
rm -f alive.txt deploy_client deploy_libs
ping: $(ALIVES)
- pssh $(FOPTIONS) "uname"
+ pssh $(FOPTIONS) 'python2 --version 2>&1 | grep -E "(2\.6|2\.7)"'
nuke:
pnuke $(OPTIONS) -h $(HOSTS) "python"