summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2016-07-21 13:09:37 -0700
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2016-07-22 22:37:49 +0000
commitc6a8462c6efe1f70aa80843c04badfaa46e81bae (patch)
tree38d61fc63c38582e65deb97be2b61570eaaf0c17 /doc
parenta028e43a9754bda42b048e58ea153b065e15bbce (diff)
doc: fix backslash paths in windows and python default location
Backslashes need to be doubled up, otherwise they are interpreted like a escape sequence and basically, dissapear. As part of this, suggest the location of the default python installation *before* using it, for simplicity. Change-Id: I26ed80a7dd8c08277614dc49a3986848892ff844 Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/getting_started/installation_win.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/getting_started/installation_win.rst b/doc/getting_started/installation_win.rst
index a25dc9346..61e6f0fa0 100644
--- a/doc/getting_started/installation_win.rst
+++ b/doc/getting_started/installation_win.rst
@@ -46,7 +46,7 @@ following packages with their installler `mingw-get-setup.exe`:
* msys-w32api
Launch the `MSYS console`. The installer does not create shortcuts for you,
-but the script to launch it is in :file:`C:\MinGW\msys\1.0\msys.bat.`.
+but the script to launch it is in :file:`C:\\MinGW\\msys\\1.0\\msys.bat.`.
We need the following line in :file:`/etc/fstab`:
.. code-block:: console
@@ -66,14 +66,15 @@ The easiest way to do this is just copy the file :file:`fstab.sample` as
Configure Python's folder location in the environmental variable :envvar:`PATH`
and the installation path for MinGW.
+.. note:: The format of the path for `PYTHON_PATH` must to be in the
+ linux format. Default installation is in :file:`C:\\python27`,
+ which would be written as :file:`/c/python27/`.
+
.. code-block:: console
+ export PYTHON_PATH=/c/python27
export PATH=$PATH:${PYTHON_PATH}
- export MINGW_DIR=C:/MinGW
-
-.. note:: The format of the path for this variable (PYTHON_PATH) must to be in
- the linux format. For example, :file:`C:\python27` would be written as
- :file:`/c/python27/`.
+ export MINGW_DIR=/c/MinGW
GNU Regex C library
===================