[python-arrayfire] 78/250: Updating README to reflect the installation method
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Mar 28 22:59:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository python-arrayfire.
commit 439e3c5acb61a697eaa116671a38b8f802edf85d
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date: Mon Aug 31 06:09:58 2015 -0400
Updating README to reflect the installation method
---
README.md | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/README.md b/README.md
index b1dd6dc..8b59e9c 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ af.info()
a = af.randu(5, 1)
# Print a and its minimum value
-af.print_array(a)
+af.display(a)
# Print min and max values of a
print("Minimum, Maximum: ", af.min(a), af.max(a))
@@ -93,27 +93,20 @@ Please check the following links for dependencies.
## Getting started
-If you have not installed the ArrayFire library in your system paths, please make sure the following environment variables are exported.
-
-**On Linux**
-
-```
-export LD_LIBRARY_PATH=/path/to/arrayfire/lib:$LD_LIBRARY_PATH
-```
-
-**On OSX**
+**Using pip**
```
-export DYLD_LIBRARY_PATH=/path/to/arrayfire/lib:$DYLD_LIBRARY_PATH
+pip install git+git://github.com/arrayfire/arrayfire.git@master
```
-On both systems, to run the example, you will need to add the python bindings to your `PYTHONPATH`
+**Installing offline**
```
-export PYTHONPATH=/path/to/arrayfire_python/:$PYTHONPATH
+cd path/to/arrayfire-python
+python setup.py install
```
-You are now good to go!
+Please follow [these instructions](https://github.com/arrayfire/arrayfire-python/wiki) to ensure the arrayfire-python can find the arrayfire libraries.
## Note
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-arrayfire.git
More information about the debian-science-commits
mailing list