-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78ea848
commit 87762ea
Showing
5 changed files
with
91 additions
and
48 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
The PyIlmBase Libraries | ||
======================= | ||
|
||
The PyIlmBase libraries provides python bindings for the IlmBase | ||
libraries: | ||
|
||
* **PyIex** - bindings for Iex | ||
* **PyImath** - bindings for Imath | ||
* **PyImathNumpy** - bindings that convert between numpy and Imath arrays | ||
|
||
|
||
If you have questions about using the PyIlmBase libraries, you may want | ||
to join our developer mailing list. See http://www.openexr.com for | ||
details. | ||
|
||
|
||
License | ||
------- | ||
|
||
IlmBase, including all contributions, is released under a modified BSD | ||
license. Please see the ``LICENSE`` file accompanying the distribution | ||
for the legal fine print. | ||
|
||
Dependencies | ||
------------ | ||
|
||
PyIlmBase requires **numpy** to be available to the builder. Install with | ||
your favorite package manager or use a Python virtualenv: | ||
|
||
virtualenv numpy | ||
soure numpy/bin/activate | ||
pip install numpy | ||
|
||
PyIlmBase also requires [boost-python](https://github.com/boostorg/python). | ||
|
||
Building and Installation | ||
------------------------- | ||
|
||
To configure the Makefiles, run the ``configure`` script: | ||
|
||
./configure | ||
|
||
For help with useful build options: | ||
|
||
./configure --help | ||
|
||
In particular, arguments of note include: | ||
|
||
* ``--prefix=<install directory>`` - a directory into which | ||
to install the headers and libraries. By default, headers and | ||
libraries are installed into ``/usr/local``. | ||
|
||
* ``--with-ilmbase-prefix=<IlmBase install directory>`` - the direction | ||
into which the IlmBase headers and libraries have been installed, if | ||
not ``/usr/local``. | ||
|
||
* ``--with-boost-include-dir``, ``--with-boost-lib-dir`` - location of | ||
the boost installation. | ||
|
||
To build the libraries after running ``configure``: | ||
|
||
make | ||
make install | ||
|
||
#### Building from Git | ||
|
||
If building directly from a cloned git repo, first generate the | ||
configuration scripts by running ``bootstrap``, then ``configure`` and | ||
``make``: | ||
|
||
cd <source root>/IlmBase | ||
./bootstrap | ||
./configure | ||
make | ||
make install | ||
|
||
Tests | ||
----- | ||
|
||
Type: | ||
|
||
make check | ||
|
||
to run the PyIlmBase confidence tests (PyIexTest, PyImathTest, | ||
PyImathNumpyTest). They should all pass; if you find a test that does | ||
not pass on your system, please let us know. | ||
|
||
|