Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Installing both C++ API and Python bindings

オープン
#2,007 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
cmake, cpp, python
領域
build-system

調査の方向性

トップレベルのCMakeLists.txtの55-112行目から始め、OTIO_CXX_INSTALL=ONおよびOTIO_PYTHON_INSTALL=ONでビルドを構成します。wheelビルドとnon-wheelビルドについて、libopentime.so、libopentimelineio.so、およびPythonラッパーDSOのインストール先を比較します。意図した区別と、その結果生じるインストールレイアウトについて合意し、検証できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

I am creating a Conan recipe for OTIO for the aswf-docker project and I want to build and install both the C++ and Python APIs. I believe this means configuring with:

-DOTIO_CXX_INSTALL=ON
-DOTIO_PYTHON_INSTALL=ON

At lines 55-112 of the top level CMakeLists.txt, if OTIO_PYTHON_INSTALL is set, libopentime.so and libopentimelineio.so end up getting installed somewhere like /usr/local/lib/python3.13/site-packages/opentimelineio/

This may be surprising for C++ clients which would expect to find libopentime.so and libopentimelineio.so in /usr/local/lib/.

I can see how when building a Python wheel, it would be advantageous to package both the C++ DSOs as well as the pybind11 wrapper DSOs in the same place, but for a non-wheels build, it seems it would be preferable to have the C++ DSOs end up in /usr/local/lib and have the pybind11 wrapper DSOs link against those, either relying on rpath or LD_LIBRARY_PATH.

Should there be (or is there) a mechanism which would differentiate a build for the purposes of creating a Python wheel from a non wheel build?

主要言語
C++
スター
2k
フォーク
356
平均マージ
5日 5時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AcademySoftwareFoundation/OpenTimelineIO のほかの issue

AcademySoftwareFoundation/OpenTimelineIO の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。