summaryrefslogtreecommitdiff
path: root/python/BuildInstructionsLinuxMacOS.md
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2017-07-10 11:36:12 -0400
committerGitHub <noreply@github.com>2017-07-10 11:36:12 -0400
commit34ee11d1955a45bf2f240e36b5d7fb5857317d0f (patch)
treeacf49c29e381420da8f8de04bd15f6ecd59c40a0 /python/BuildInstructionsLinuxMacOS.md
parentFixed ICE-8244 - Ice/background test failure (diff)
downloadice-34ee11d1955a45bf2f240e36b5d7fb5857317d0f.tar.bz2
ice-34ee11d1955a45bf2f240e36b5d7fb5857317d0f.tar.xz
ice-34ee11d1955a45bf2f240e36b5d7fb5857317d0f.zip
Formatting fix
Diffstat (limited to 'python/BuildInstructionsLinuxMacOS.md')
-rw-r--r--python/BuildInstructionsLinuxMacOS.md17
1 files changed, 9 insertions, 8 deletions
diff --git a/python/BuildInstructionsLinuxMacOS.md b/python/BuildInstructionsLinuxMacOS.md
index 12d30199f14..b71d29c9ccc 100644
--- a/python/BuildInstructionsLinuxMacOS.md
+++ b/python/BuildInstructionsLinuxMacOS.md
@@ -27,8 +27,9 @@ From the top-level source directory, edit `config/Make.rules` to establish your
build configuration. The comments in the file provide more information.
Change to the Ice for Python source subdirectory:
-
- $ cd python
+```
+ cd python
+```
Execute `python -V` to verify that the correct Python interpreter is in your
executable search path.
@@ -43,15 +44,15 @@ privileges to install in the directory specified by `config/Make.rules`.
Modify your `PYTHONPATH` environment variable to include the Ice extension
for Python. For example, assuming you installed the extension in the directory
`/opt/Ice`, you would modify your environment as shown below:
-
- $ export PYTHONPATH=/opt/Ice/python:$PYTHONPATH
-
+```
+ export PYTHONPATH=/opt/Ice/python:$PYTHONPATH
+```
## Running the Python Tests
After a successful build, you can run the tests as follows:
-
- $ python allTests.py
-
+```
+ python allTests.py
+```
If everything worked out, you should see lots of `ok` messages. In case of a
failure, the tests abort with `failed`.