From f8159f888c249c1656a17e914ba84b08cb0538ad Mon Sep 17 00:00:00 2001 From: Alex Forrence Date: Fri, 17 Mar 2023 09:36:51 -0400 Subject: [PATCH] Python: Add Windows and MacOS dependencies to the source distribution. Building the Python package from source requires libusb and portaudio shared & static libraries to be present, but these were not included in the source distribution. Originally reported here: https://psychtoolbox.discourse.group/t/libusb-and-the-psychtoolbox-wheel-in-psychopy/4883 --- MANIFEST.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index bfbb75f4f1..46691903b5 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,3 +2,14 @@ include README include PsychSourceGL/License.txt recursive-include PsychSourceGL *.c recursive-include PsychSourceGL *.h + +# Windows dependencies +include PsychSourceGL/Cohorts/libusb1-win32/MS32/dll/libusb-1.0.* +include PsychSourceGL/Cohorts/libusb1-win32/MS64/dll/libusb-1.0.* +include Psychtoolbox/PsychSound/portaudio_x64.dll +include PsychSourceGL/Cohorts/PortAudio/portaudio_x64.lib + +# macOS dependencies +include PsychSourceGL/Cohorts/libusb1-win32/libusb-1.0.dylib +include PsychSourceGL/Cohorts/HID_Utilities_64Bit/build/Release/libHID_Utilities64.a +include PsychSourceGL/Cohorts/PortAudio/libportaudio_osx_64.a