You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Adding a __init__.py python module, for the Debian packaging
This commit is contained in:
2
cmake/Python/__init__.py
Normal file
2
cmake/Python/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
# Automatically import all openshot objects when this module is imported
|
||||
from openshot import *
|
||||
@@ -81,6 +81,7 @@ SWIG_LINK_LIBRARIES(openshot ${PYTHON_LIBRARIES} openshot)
|
||||
file(GLOB_RECURSE headers ${CMAKE_SOURCE_DIR}/include/*.h)
|
||||
INSTALL(FILES ${headers} DESTINATION include/libopenshot)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/openshot.py DESTINATION share/python/libopenshot)
|
||||
INSTALL(FILES ${CMAKE_SOURCE_DIR}/cmake/Python/__init__.py DESTINATION share/python/libopenshot)
|
||||
|
||||
IF (UNIX)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libopenshot.so DESTINATION lib)
|
||||
@@ -95,4 +96,4 @@ ELSE (UNIX)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/_openshot.so DESTINATION share/python)
|
||||
ENDIF(APPLE)
|
||||
ENDIF(WIN32)
|
||||
ENDIF(UNIX)
|
||||
ENDIF(UNIX)
|
||||
|
||||
Reference in New Issue
Block a user