Logo

上個主題

tracemalloc --- 跟踪内存分配

下個主題

distutils --- 构建和安装 Python 模块

此頁面

  • 回報錯誤
  • 顯示原始碼

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • python logo
  • Python »
  • 3.11.2 Documentation »
  • Python 標準函式庫 (Standard Library) »
  • 軟體封裝與發布
  • |

軟體封裝與發布¶

这些库可帮助你发布和安装 Python 软件。 虽然这些模块设计为与`Python 包索引 <https://pypi.org>`__结合使用,但它们也可以与本地索引服务器一起使用,或者根本不使用任何索引服务器。

  • distutils --- 构建和安装 Python 模块
  • ensurepip --- 引导 pip 安装器
    • 命令行界面
    • 模組 API
  • venv --- 创建虚拟环境
    • 创建虚拟环境
    • How venvs work
    • API
    • 一个扩展 EnvBuilder 的例子
  • zipapp —— 管理可执行的 Python zip 打包文件
    • 基本範例
    • 命令執行列介面
    • Python API
    • 範例
    • 指定解释器程序
    • 用 zipapp 创建独立运行的应用程序
      • 制作 Windows 可执行文件
      • 注意事项
    • Python 打包应用程序的格式

上個主題

tracemalloc --- 跟踪内存分配

下個主題

distutils --- 构建和安装 Python 模块

此頁面

  • 回報錯誤
  • 顯示原始碼

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • python logo
  • Python »
  • 3.11.2 Documentation »
  • Python 標準函式庫 (Standard Library) »
  • 軟體封裝與發布
  • |
© 版權 2001-2023, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

最後更新於 3月 20, 2023。 Found a bug?
使用 Sphinx 4.5.0 建立。