[segyio] 240/376: Update readme build instructions and spelling
Jørgen Kvalsvik
jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:39 UTC 2017
This is an automated email from the git hooks/post-receive script.
jokva-guest pushed a commit to branch debian
in repository segyio.
commit ba9f80f0a33127edcce3b3807d8db9a741d67a7e
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date: Tue Mar 14 12:11:14 2017 +0100
Update readme build instructions and spelling
---
README.md | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index b25187d..cd1a096 100644
--- a/README.md
+++ b/README.md
@@ -45,8 +45,7 @@ python interpreter and type `help(segyio)` to get started.
To build and use Segyio you need:
* A C99 compatible C compiler (tested mostly on gcc and clang)
* [CMake](https://cmake.org/) version 2.8.8 or greater
- * [Python](https://www.python.org/) 2.7. We're working on 3.x support, help
- appreciated!
+ * [Python](https://www.python.org/) 2.7 or 3.x.
### Building ###
@@ -58,14 +57,15 @@ To build and install Segyio, perform the following actions in your console:
git clone https://github.com/Statoil/segyio
cd segyio
mkdir build
-cmake .. -DCMAKE_BUILD_TYPE=Release
+cd build
+cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
make
make install
```
Make install must be done as root for a system install; if you want to install
in your home directory, add `-DCMAKE_INSTALL_PREFIX=~/` or some other
-approperiate directory. Remember to update your $PATH!
+appropriate directory. Remember to update your $PATH!
##### Matlab support #####
@@ -88,11 +88,10 @@ guide.
After building Segyio you can run the tests with `ctest`, executed from the
build directory.
-Please note that to run the python tests you need to let your environment know
-where to find the segyio library files. On linux (bash) this is accomplished by being
-in the build directory and executing: `LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH`
-or by passing ctest a modified environment
-`LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH ctest`.
+Please note that to run the python examples you need to let your environment know
+where to find the segyio python library. On linux (bash) this is accomplished
+by being in the build directory and executing:
+`export PYTHONPATH=$PWD/python:$PYTHONPATH`
## Contributing ##
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git
More information about the debian-science-commits
mailing list