OpenColorIO icon indicating copy to clipboard operation
OpenColorIO copied to clipboard

Please explain in README how to build the python binding once the OpenColorIO library is installed

Open yurivict opened this issue 4 years ago • 2 comments

There is one libOpenColorIO.so, but there can be multiple python versions installed at the same time.

It should be possible to build the python binding once OpenColorIO is installed.

Could you please document in README how to build just the python binding?

yurivict avatar Feb 13 '21 19:02 yurivict

As I understand it, currently, the build system requires that one builds the main OCIO libraries each and every time, regardless of whether one is interested in only building one of the optional components and linking to an existing build. I don't think this was an oversight, but maybe @michdolan or @hodoulp could provide additional insight...

(personally, I've been re-building static OCIO libs for multiple versions of PyOpenColorIO.so without a problem...)

zachlewis avatar Feb 16 '21 19:02 zachlewis

As I understand it, currently, the build system requires that one builds the main OCIO libraries each and every time [...]

Problems with this are:

  • Inefficiency: instead of building only python-related parts user has to rebuild everything.
  • Install target still reinstalls all built libraries even though they were already installed.

yurivict avatar Feb 16 '21 19:02 yurivict