Skip to content

Conversation

michdolan
Copy link
Contributor

Currently when setting OTIO_PYTHON_INSTALL=ON in CMake, only the compiled Python bindings are installed, which can't be used on their own. This update expands this to match the OTIO PyPI package in the CMake install location, including the three pure-python libs: opentimelineio, opentimelineview, and opentielineio_contrib. The result is that the CMake install is production-ready in a Python env.

While on by default when building the Python bindings, opentimelineview is also gated behind the existing (and currently unused) OTIO_INSTALL_COMMANDLINE_TOOLS, and opentielineio_contrib behind a new OTIO_INSTALL_CONTRIB option, so both can be turned off if only the core lib is needed.

@codecov-commenter
Copy link

Codecov Report

Merging #1238 (d5a368a) into main (46d19ef) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1238   +/-   ##
=======================================
  Coverage   86.15%   86.15%           
=======================================
  Files         196      196           
  Lines       19624    19624           
  Branches     2302     2302           
=======================================
  Hits        16907    16907           
  Misses       2159     2159           
  Partials      558      558           
Flag Coverage Δ
py-unittests 86.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 46d19ef...d5a368a. Read the comment docs.

Copy link
Collaborator

@meshula meshula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, thanks! I have one question.

@meshula meshula merged commit 33b328b into AcademySoftwareFoundation:main Mar 12, 2022
jminor pushed a commit that referenced this pull request May 2, 2022
@ssteinbach ssteinbach added this to the Public Beta 15 milestone Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants