Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: include Windows & Mac build- and run-time dependencies in the source distribution #242

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

aforren1
Copy link
Contributor

This change tells Python to include the necessary shared & static libraries for building PsychPortAudio/PsychHID in the source archive. If the entrepreneurial user tried to install from source instead of relying on one of the pre-built wheels, the build step would fail due to these missing dependencies.

I now test building from the source archive on Linux/Win/Mac, and appears successful (see e.g. here).

Originally reported by Ian here.

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
@kleinerm kleinerm merged commit 699bc26 into kleinerm:master Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants