indygreg / indygreg/PyOxidizer

How do I run my application?

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

Description

I tried a minimal example having a single file `hello.py`

```
#!/usr/bin/env python3

def main():
print("Hello world!")

if __name__ == "__main__":
main()
```

But getting a repl when runnind `pyoxidizer run` isn't what I want. I tried to use `run_module`, and `run_eval` but was not able to get my mini application to run.

Any hints welcome.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the minimal `hello.py` example with `pyoxidizer run`, then trace how the `run_module` and `run_eval` entry points are documented or handled. Clarify the supported way to launch a single-file application instead of a REPL, and document or test the resulting workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
build-system, cli
Issue type
Documentation
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.