Skip to content

Commit

Permalink
Adjusted MacOS packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
SBriere committed Jan 31, 2025
1 parent 9dbf01f commit de38adb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PROJECT (OpenIMU)
set(CMAKE_VERBOSE_MAKEFILE ON)

#Look for minimum cmake version
cmake_minimum_required(VERSION 3.0.2)
cmake_minimum_required(VERSION 3.21)

#Python
add_subdirectory(python)
2 changes: 1 addition & 1 deletion python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ message(STATUS ${python_files})
# PyInstaller
set (installer_args
--hidden-import logging.config
--hidden-import scipy._lib.array_api_compat.numpy.fft
--clean
-y
--windowed # If windowed, no console is displayed
Expand All @@ -125,7 +126,6 @@ if(WIN32)
set (installer_args
${installer_args}
--hidden-import win32api
--hidden-import scipy._lib.array_api_compat.numpy.fft
#--hidden-import pkg_resources.py2_warn
--paths ${PYTHON_ENV_DIRECTORY}/Lib/site-packages/scipy/.libs # PyInstaller doesn't seem to find all required DLLs for SciPy...
--paths ${PYTHON_ENV_DIRECTORY}/Library/bin # PyInstaller doesn't seem to find sqlite3.dll...
Expand Down

0 comments on commit de38adb

Please sign in to comment.