TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Python-build-standalone: redistributable builds of Python

17 点作者 cl3misch3 个月前

1 comment

pushfoo3 个月前
This seems to be from astral, the organization behind ruff[1], uv[2], and rye[3] (all good things!).<p>They seem to force using python -m pip on Windows since they don&#x27;t ship pip.exe[4]? This is <i>very</i> interesting.<p>From their doc[5] since the README.md&#x27;s super-bare:<p>&gt; These Python distributions contain a fully-usable, full-featured Python installation: most extension modules from the Python standard library are present and their library dependencies are either distributed with the distribution or are statically linked.<p>&gt; The Python distributions are built in a manner to minimize run-time dependencies. This includes limiting the CPU instructions that can be used and limiting the set of shared libraries required at run-time. The goal is for the produced distribution to work on any system for the targeted architecture.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;astral-sh&#x2F;ruff">https:&#x2F;&#x2F;github.com&#x2F;astral-sh&#x2F;ruff</a><p>[2]: Significantly faster than regular pip: <a href="https:&#x2F;&#x2F;github.com&#x2F;astral-sh&#x2F;uv">https:&#x2F;&#x2F;github.com&#x2F;astral-sh&#x2F;uv</a><p>[3]: <a href="https:&#x2F;&#x2F;rye.astral.sh&#x2F;" rel="nofollow">https:&#x2F;&#x2F;rye.astral.sh&#x2F;</a><p>[4]: <a href="https:&#x2F;&#x2F;gregoryszorc.com&#x2F;docs&#x2F;python-build-standalone&#x2F;main&#x2F;quirks.html#no-pip-exe-on-windows" rel="nofollow">https:&#x2F;&#x2F;gregoryszorc.com&#x2F;docs&#x2F;python-build-standalone&#x2F;main&#x2F;q...</a><p>[5]: <a href="https:&#x2F;&#x2F;gregoryszorc.com&#x2F;docs&#x2F;python-build-standalone&#x2F;main&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gregoryszorc.com&#x2F;docs&#x2F;python-build-standalone&#x2F;main&#x2F;</a>