Installing both C++ API and Python bindings
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Tranquilo
- Área
- build-system
Línea de trabajo
Comienza con el CMakeLists.txt de nivel superior en las líneas 55-112 y configura una compilación con OTIO_CXX_INSTALL=ON y OTIO_PYTHON_INSTALL=ON. Compara las ubicaciones de instalación de libopentime.so, libopentimelineio.so y los DSO del wrapper de Python para compilaciones wheel y non-wheel. Se considera terminado cuando la distinción prevista y el diseño de instalación resultante se hayan acordado y verificado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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?
- Lenguaje dominante
- C++
- Estrellas
- 2k
- Forks
- 356
- Merge medio
- 4 d 14 h
- PR fusionados (30 d)
- 7
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de AcademySoftwareFoundation/OpenTimelineIO
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
AcademySoftwareFoundation/OpenTimelineIO#2037 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
AcademySoftwareFoundation/OpenTimelineIO#2036 ·
Los mantenedores suelen responder en 1 día
-
devdays26 good first issue help wanted
Dificultad 3/5 1-2 días Aptitud para principiantes 74/100
AcademySoftwareFoundation/OpenTimelineIO#2045 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Crashes when Clip parent is nullAbiertodevdays26 good first issue help wanted
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
AcademySoftwareFoundation/OpenTimelineIO#2044 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Some documentation is missingAbiertodevdays26 documentation good first issue help wanted
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
AcademySoftwareFoundation/OpenTimelineIO#2042 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de AcademySoftwareFoundation/OpenTimelineIO
Issues similares
-
area/actorsystem bug tsan
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
ydb-platform/ydb#54282 ·
Los mantenedores suelen responder en 1 día
-
bug needs triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
project-chip/connectedhomeip#74434 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
tenstorrent/tt-metal#58057 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
maplibre/maplibre-native#4690 ·
Los mantenedores suelen responder en 1 día
-
comp-query-execution
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
ClickHouse/ClickHouse#122569 ·
Los mantenedores suelen responder en 1 día