diff options
author | Vlad Glagolev | 2009-08-22 16:52:44 +0400 |
---|---|---|
committer | Vlad Glagolev | 2009-08-22 16:52:44 +0400 |
commit | 9b409fd5fcd42959ce840dd712b15d3ead95693f (patch) | |
tree | 04b82fc52cbf1d26da08b8d64686049c28751a3c /FUNCTIONS | |
parent | 1b95cd646375b8d43458830d6a140d7a3e9401bc (diff) |
added build/install instructions for python3 if a user has both versions installed, to keep the compatibility
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-x | FUNCTIONS | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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() { |