Skip to content

Commit

Permalink
Python: Add Windows and MacOS dependencies to the source distribution.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aforren1 committed Mar 17, 2023
1 parent a358599 commit f8159f8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f8159f8

Please sign in to comment.