git » libjio » commit 93201c5

Rename python bindings to "python2"

author Alberto Bertogli
2009-03-26 23:15:57 UTC
committer Alberto Bertogli
2009-03-26 23:15:57 UTC
parent 1dfdcca641e402ff1e518ecce57f93f02e83fcb3

Rename python bindings to "python2"

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

Makefile +7 -6
bindings/{python => python2}/libjio.c +0 -0
bindings/{python => python2}/setup.py +0 -0

diff --git a/Makefile b/Makefile
index c541228..ea60e21 100644
--- a/Makefile
+++ b/Makefile
@@ -83,11 +83,11 @@ install: all
 	$(NICE_CC) $(ALL_CFLAGS) $(INCLUDES) -c $< -o $@
 
 
-python: all
-	cd bindings/python && python setup.py build
+python2:
+	cd bindings/python2 && python setup.py build
 
-python_install: python
-	cd bindings/python && python setup.py install
+python2_install: python2
+	cd bindings/python2 && python setup.py install
 
 
 preload: all
@@ -106,9 +106,10 @@ preload_install: preload
 clean:
 	rm -f $(OBJS) libjio.a libjio.so libjio.pc jiofsck.o jiofsck
 	rm -f *.bb *.bbg *.da *.gcov *.gcno *.gcda gmon.out
-	rm -rf bindings/python/build/
+	rm -rf bindings/python2/build/
 	rm -rf bindings/preload/build/
 
 
-.PHONY: default all install python python_install preload preload_install clean
+.PHONY: default all install python2 python2_install preload preload_install \
+	clean
 
diff --git a/bindings/python/libjio.c b/bindings/python2/libjio.c
similarity index 100%
rename from bindings/python/libjio.c
rename to bindings/python2/libjio.c
diff --git a/bindings/python/setup.py b/bindings/python2/setup.py
similarity index 100%
rename from bindings/python/setup.py
rename to bindings/python2/setup.py