Commit 92551d10 authored by Matthias Putz's avatar Matthias Putz

changed recommended python 3.3 usage

parent 5b7281c3
...@@ -21,7 +21,7 @@ The editrights tools is provided as part of git-repo for Microsoft Windows. ...@@ -21,7 +21,7 @@ The editrights tools is provided as part of git-repo for Microsoft Windows.
* Download [Git (http://git-scm.com/downloads)](http://git-scm.com/downloads) * Download [Git (http://git-scm.com/downloads)](http://git-scm.com/downloads)
* Add Git to your path environment variable: e.g. C:\Program Files (x86)\Git\cmd; * Add Git to your path environment variable: e.g. C:\Program Files (x86)\Git\cmd;
* Add MinGW to your path environment variable: e.g. C:\Program Files (x86)\Git\bin; * Add MinGW to your path environment variable: e.g. C:\Program Files (x86)\Git\bin;
##### Download and install Python ##### ##### Download and install Python #####
* Download [Python 3+ (http://python.org/download/releases/3.3.0/)](http://python.org/download/releases/3.3.0/) * Download [Python 3+ (http://python.org/download/releases/3.3.0/)](http://python.org/download/releases/3.3.0/)
* Add Python to your path environment variable: e.g. C:\Python33; * Add Python to your path environment variable: e.g. C:\Python33;
...@@ -32,22 +32,26 @@ The editrights tools is provided as part of git-repo for Microsoft Windows. ...@@ -32,22 +32,26 @@ The editrights tools is provided as part of git-repo for Microsoft Windows.
md %USERPROFILE%\bin md %USERPROFILE%\bin
curl https://raw.github.com/esrlabs/git-repo/master/repo > %USERPROFILE%/bin/repo curl https://raw.github.com/esrlabs/git-repo/master/repo > %USERPROFILE%/bin/repo
curl https://raw.github.com/esrlabs/git-repo/master/repo.cmd > %USERPROFILE%/bin/repo.cmd curl https://raw.github.com/esrlabs/git-repo/master/repo.cmd > %USERPROFILE%/bin/repo.cmd
###### Git Bash ###### ###### Git Bash ######
mkdir ~/bin mkdir ~/bin
curl https://raw.githubusercontent.com/esrlabs/git-repo/master/repo > ~/bin/repo curl https://raw.githubusercontent.com/esrlabs/git-repo/master/repo > ~/bin/repo
curl https://raw.githubusercontent.com/esrlabs/git-repo/master/repo.cmd > ~/bin/repo.cmd curl https://raw.githubusercontent.com/esrlabs/git-repo/master/repo.cmd > ~/bin/repo.cmd
* Add Repo to your path environment variable: %USERPROFILE%\bin; * Add Repo to your path environment variable: %USERPROFILE%\bin;
* Create a HOME environment variable that points to %USERPROFILE% (necessary for OpenSSH to find its .ssh directory). * Create a HOME environment variable that points to %USERPROFILE% (necessary for OpenSSH to find its .ssh directory).
* Create a GIT_EDITOR environment variable that has an editor executable as value. For this, first add the home directory of the editor executable to the path environment variable. GIT_EDITOR can than be set to "notepad++.exe", "gvim.exe", for example. * Create a GIT_EDITOR environment variable that has an editor executable as value. For this, first add the home directory of the editor executable to the path environment variable. GIT_EDITOR can than be set to "notepad++.exe", "gvim.exe", for example.
### Setup steps for Linux ### ### Setup steps for Linux ###
##### Downloading and installing Git and Python ##### ##### Downloading and installing Git and Python #####
* sudo apt-get install git-core * sudo apt-get install git-core
* Since our Repo requires Python 3.3, use the following commands to switch between multiple Python versions: * Since our Repo requires Python 3.3, we recommend to change the first line of the ~/bin/repo executable to:
#!/usr/bin/env python3.3
* Alternatively, use the following commands to switch between multiple Python versions:
<!-- code block --> <!-- code block -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment