summaryrefslogtreecommitdiffstats
path: root/FUNCTIONS
diff options
context:
space:
mode:
authorVlad Glagolev2009-08-22 16:52:44 +0400
committerVlad Glagolev2009-08-22 16:52:44 +0400
commit9b409fd5fcd42959ce840dd712b15d3ead95693f (patch)
tree04b82fc52cbf1d26da08b8d64686049c28751a3c /FUNCTIONS
parent1b95cd646375b8d43458830d6a140d7a3e9401bc (diff)
added build/install instructions for python3 if a user has both versions installed, to keep the compatibility
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-xFUNCTIONS14
1 files changed, 14 insertions, 0 deletions
diff --git a/FUNCTIONS b/FUNCTIONS
index 268b833bdb..28c5b40b89 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -431,6 +431,13 @@ function default_build_python() {
}
#-------------------------------------------------------------------------
+## Default build for Python 3 spell.
+#-------------------------------------------------------------------------
+function default_build_python3() {
+ python3 setup.py build "$@"
+}
+
+#-------------------------------------------------------------------------
## Default install for Python spell.
#-------------------------------------------------------------------------
function default_install_python() {
@@ -438,6 +445,13 @@ function default_install_python() {
}
#-------------------------------------------------------------------------
+## Default install for Python 3 spell.
+#-------------------------------------------------------------------------
+function default_install_python3() {
+ python3 setup.py install --root "$INSTALL_ROOT/" "$@"
+}
+
+#-------------------------------------------------------------------------
## Default build for Perl spell.
#-------------------------------------------------------------------------
function default_build_perl() {