indygreg / indygreg/PyOxidizer

Use of module before main script

Open
#374 3 comments 0 reactions 0 assignees View on GitHub
need-info
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

Is there a way to run a module prior to script as main?

For example: https://software.intel.com/content/www/us/en/develop/blogs/unleash-parallel-performance-of-python-programs.html

They run Python -m tbb bench.py but I have been unable to replicate with pyoxidizer run_main.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the PyOxidizer run_main entry point and reproduce the difference between Python -m tbb bench.py and the reported PyOxidizer behavior. Trace how module execution and the main script are ordered; done means the supported approach is identified or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.