Skip to content

Conversation

@jnwatson
Copy link
Owner

The CFFI build process was previously using absolute paths to the source and include directories, which caused the resulting wheel to be non-portable.

This commit uses relative paths instead. This ensures that the CFFI build process creates a portable wheel that can be installed on any machine.

jnwatson added 2 commits July 15, 2025 03:48
The CFFI build process was previously using absolute paths to the source
and include directories, which caused the resulting wheel to be
non-portable. This was because  was being used in
.

This commit removes the  calls and uses relative paths
instead. This ensures that the CFFI build process creates a portable
wheel that can be installed on any machine.
The CFFI build was failing in CI because the relative paths to the
source and include directories were not being resolved correctly when
pip executed the build in a temporary directory.

This commit fixes the issue by using
to construct absolute paths to the required files, ensuring they can be
found regardless of the current working directory.
@jnwatson
Copy link
Owner Author

Resolves #386 .

@jnwatson jnwatson merged commit d0c9aa5 into master Jul 15, 2025
43 checks passed
@jnwatson jnwatson deleted the cffi-path-fail branch July 15, 2025 20:55
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