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

Support user install of swig python module #50

Merged
merged 2 commits into from
Mar 9, 2024

Conversation

kazarmy
Copy link
Member

@kazarmy kazarmy commented Mar 9, 2024

This pr supports installation of the swig python module to the user site-packages directory, if installation cannot be done to the system site-packages directory. The reasons for supporting this is twofold:

  1. Allows installation without sudo.
  2. Prevents this error from popping up.

Minimum Python version has been bumped to 3.10 due to sysconfig.get_default_scheme(), while minimum Meson version has been bumped to 1.1.0 due to this fix.

@kazarmy
Copy link
Member Author

kazarmy commented Mar 9, 2024

Merging this first despite the redness (and potential incompatibility with old Python) so that I don't have to use an old Meson version every time I want to install rz-bindgen on Ubuntu 22.04

@kazarmy kazarmy merged commit d5a3644 into master Mar 9, 2024
3 of 8 checks passed
@kazarmy kazarmy deleted the user-swig-python-module branch March 9, 2024 14:51
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.

2 participants