skywind3000 / skywind3000/PyStand

是否可以内嵌 int 代码编译或者支持 __main__.py

Open
#71 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.2k
Forks
146
PR merge metrics
No merged PRs in 30d

Description

int 文件直接暴露给用户留下了较大的风险敞口,同时也可能修改之后导致 Crash,Python 包内如果有 main.py 可以通过 python -m 的形式直接启动,这也是官方推荐的 execuable 做法,能够启用 main.py 的方案,让用户自己在内部集成启动方法,另外能否将 int 内代码直接写在 cpp 中直接编译从而不需要外部的 int

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining how PyStand currently exposes and executes .int files, then trace the Python -m entry path for main.py. Review the existing C++ build and packaging entry points before defining the scope; done means the project has a tested, agreed approach for safer executable startup and embedding the relevant code.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.