Skip to content

Commit

Permalink
PyIlmBase README.md cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cary-ilm authored and nickrasmussen committed Aug 8, 2018
1 parent 78ea848 commit 87762ea
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 48 deletions.
10 changes: 0 additions & 10 deletions PyIlmBase/AUTHORS

This file was deleted.

34 changes: 0 additions & 34 deletions PyIlmBase/COPYING

This file was deleted.

5 changes: 3 additions & 2 deletions PyIlmBase/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ DIST_SUBDIRS = \
#vc

EXTRA_DIST = \
AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS \
README README.OSX bootstrap \
LICENSE README.md \
ChangeLog \
bootstrap \
pyilmbase.m4 \
config.windows/PyIlmBaseConfig.h

Expand Down
2 changes: 0 additions & 2 deletions PyIlmBase/NEWS

This file was deleted.

88 changes: 88 additions & 0 deletions PyIlmBase/README.md
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.


0 comments on commit 87762ea

Please sign in to comment.