1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Modify documentation to notify that minimum Python version is 2.7 instead of

2.6.

This was caused by the rewrite to use argparse over optparse to handle command
line arguments.
This commit is contained in:
William Ting 2012-04-11 19:37:16 -10:00
parent f5132bbfad
commit 2cfd91bf72
4 changed files with 6 additions and 4 deletions

View File

@ -6,6 +6,8 @@
* Release v20:
- Python versions supported is now v2.7+ and v3.2+ due to rewrite using
argparse.
- Man page and --help has been overhauled to provide better documentation
and usage scenarios.
- Installation scripts now act dependent on current

View File

@ -2,7 +2,7 @@
### REQUIREMENTS
Python v2.6+ or 3.0+
Python v2.7+ or 3.2+
Bash v4.0+ for tab completion

View File

@ -107,7 +107,7 @@ INSTALLATION
### REQUIREMENTS
Python v2.6+ or 3.0+
Python v2.7+ or 3.2+
Bash v4.0+ for tab completion

View File

@ -128,9 +128,9 @@ fi
# check Python version
python_version=`python -c 'import sys; print(sys.version_info[:])'`
if [[ ${python_version:1:1} -eq 2 && ${python_version:4:1} -lt 6 ]]; then
if [[ ${python_version:1:1} -eq 2 && ${python_version:4:1} -lt 7 ]]; then
echo
echo "Incompatible Python version, please upgrade to v2.6+ or v3.0+."
echo "Incompatible Python version, please upgrade to v2.7+ or v3.2+."
if [[ ${python_version:4:1} -gt 3 ]]; then
echo
echo "Alternatively, you can download v12 that supports Python v2.4+ from:"