indygreg / indygreg/PyOxidizer

Investigate pyo3 importlib feature for linking on Windows

Open
#563 0 comments 0 reactions 0 assignees View on GitHub
enhancement pyembed
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

Recent versions of pyo3 are able to generate an import library on Windows without a Python distribution present. This enables you to cross-compile more easily. It also likely makes builds less brittle since they aren't as dependent on a Python interpreter being available.

We should investigate using this feature or rolling a similar solution ourselves in order to facilitate more turnkey building/linking on Windows.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing PyO3's importlib feature and the current Windows build and linking path. Compare using that feature with rolling a similar solution, focusing on cross-compilation and builds without a Python distribution. Done means a decided implementation direction for more turnkey Windows building and linking; no files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.