Skip to content

romainaugier/OIIO-PythonBindings

Repository files navigation

OIIO-PythonBindings

Windows Py 3.10 Windows Py 3.9 Linux Py 3.10 Linux Py 3.9

Python bindings for OpenImageIO. It uses Conan 1.59.0 to build the custom recipe you can find in openimageio./conanfile.py.

If you encounter this error

ERROR: 'settings.compiler' value not defined

Make sure to have a compiler installed on your computer (Visual Studio for windows, gcc for Linux...).

After you've installed a compiler, run

conan profile new default --detect --force

To update the conan profile with the newly installed compiler.

Windows

Building

git clone https://github.com/romainaugier/OIIO-PythonBindings.git
cd OIIO-PythonBindings
./build.bat

Usage

.\scripts\activate.bat
python
>>> import OpenImageIO as oiio
>>> ...
>>> exit()
.\scripts\deactivate.bat

Linux

Building

git clone https://github.com/romainaugier/OIIO-PythonBindings.git
cd OIIO-PythonBindings
./build.sh

Usage

./scripts/activate.sh
python
>>> import OpenImageIO as oiio
>>> ...
>>> exit()
./scripts/deactivate.sh

MacOS

Not yet available, working on it

About

Python bindings for OpenImageIO using conan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published