astral-sh / astral-sh/python-build-standalone
Detecting whether a Python was built by `python-build-standalone`
Open
enhancement
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 314
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 27
Description
Due to #380, I'm looking for a way to detect whether a given Python interpreter was built by `python-build-standalone`. Is there any reliable metadata (maybe something on `sysconfig.get_config_vars()`) to support this?
Contributor guide
Research direction
Review issue #380 for the motivation, then investigate whether Python's sysconfig.get_config_vars() or another interpreter-level metadata source can reliably identify python-build-standalone builds. Compare the available signals across supported builds and document a concrete detection approach or explain why no reliable mechanism exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100