Skip to content

Add Windows specific paths for python executable and site-packages for wheel_builder.py#204

Open
LaurenceTews wants to merge 1 commit intojvolkman:mainfrom
LaurenceTews:wheel_builder_windows_paths
Open

Add Windows specific paths for python executable and site-packages for wheel_builder.py#204
LaurenceTews wants to merge 1 commit intojvolkman:mainfrom
LaurenceTews:wheel_builder_windows_paths

Conversation

@LaurenceTews
Copy link
Contributor

I'm working towards adding proper windows support when building wheels/libs.
There is a 3rd issue that the existing tests get caught up on, which is that importlib.import_module(sysconfigdata_name).build_time_vars doesn't work on Windows. I wondered if sysconfig.get_config_vars() could be used instead, which is cross-plat. I didn't see a difference in the resulting target_sysconfig_vars values from the testing I did on macOS and linux, but perhaps there's a good reason for using the internal API.

@LaurenceTews LaurenceTews force-pushed the wheel_builder_windows_paths branch from 9b249db to b3f22f1 Compare November 5, 2025 06:20
@LaurenceTews LaurenceTews force-pushed the wheel_builder_windows_paths branch from b3f22f1 to 10e836e Compare November 6, 2025 03:21
@jvolkman
Copy link
Owner

IIRC get_config_vars() is doing some extra processing of the raw variables which is why I didn't use it. We'd need to look at the implementation of that function on unix vs. windows.

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