cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject docs commit: CB-10355: Add Python installation instructions to Readme.md file. This closes #454.
Date Thu, 14 Jan 2016 22:21:20 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master 200b8a6ad -> b01716c36


CB-10355: Add Python installation instructions to Readme.md file. This closes #454.


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/b01716c3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/b01716c3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/b01716c3

Branch: refs/heads/master
Commit: b01716c36e531cc010074ffe945441187d1700fd
Parents: 200b8a6
Author: Sarangan Rajamanickam <sarajama@microsoft.com>
Authored: Wed Jan 13 14:13:49 2016 -0800
Committer: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Committed: Thu Jan 14 14:20:42 2016 -0800

----------------------------------------------------------------------
 README.md | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b01716c3/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index e0a038b..69e5d0a 100644
--- a/README.md
+++ b/README.md
@@ -45,6 +45,38 @@ Verify the installation by running:
 
     ruby --version
 
+## Python
+To build cordova-docs, the python version 2.7 must be used. cordova-docs is incompatible
with python 3. 
+
+### Mac OS X
+
+Mac OS X comes with the python 2.7 pre-installed. Else, Follow these steps:
+
+1. Download [this installer][python_installer_mac] from [this page][python_downloads].
+2. Run the downloaded file.
+
+### Windows
+
+Follow these steps:
+
+1. Download [this installer][python_installer_windows] from [this page][python_downloads].
+2. Run the downloaded file.
+   1. Use the default installation path
+   1. Make sure the **'add executable to path'** option is checked.
+
+### Linux
+
+The latest version of CentOS, Fedora, Redhat Enterprise (RHEL) and Ubuntu come with python
2.7 pre-installed. 
+Else, follow the steps from [this site][python_linux].
+
+***
+
+Verify the installation by running:
+
+    python --version
+
+The version must be 2.7.x.
+
 ## JavaScript
 
 ### Mac OS X &amp; Windows
@@ -293,3 +325,7 @@ Please ask for help on the Slack channel. Join at [slack.cordova.io](http://slac
 [svn]: http://svnbook.red-bean.com/en/1.7/svn.intro.quickstart.html
 [pr]: https://help.github.com/articles/using-pull-requests/
 [rbenvgh]: https://github.com/sstephenson/rbenv
+[python_downloads]: https://www.python.org/downloads/release/python-2711/
+[python_installer_mac]: https://www.python.org/ftp/python/2.7.11/python-2.7.11-macosx10.6.pkg
+[python_installer_windows]: https://www.python.org/ftp/python/2.7.11/python-2.7.11.amd64.msi
+[python_linux]: http://docs.python-guide.org/en/latest/starting/install/linux/


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message