Source distribution builder¶ソース配布ビルダー¶
A source distribution, or sdist, is an archive of Python "source code". Although largely unspecified, by convention it should include everything that is required to build a wheel without making network requests.ソース配布、または sdist は、Pythonの「ソースコード」のアーカイブです。大部分は未指定ですが、慣習として、ネットワークリクエストを行わずに wheel をビルドするために必要なすべてを含むべきです。
Configuration¶設定¶
The builder plugin name is sdist.ビルダープラグイン名は sdist です。
[tool.hatch.build.targets.sdist]
[build.targets.sdist]
Options¶オプション¶
| Optionオプション | Defaultデフォルト | Description説明 |
|---|---|---|
core-metadata-versioncore-metadata-version | "2.4""2.4" | The version of core metadata to useコアメタデータのバージョンを使用 |
strict-namingstrict-naming | truetrue | Whether or not file names should contain the normalized version of the project nameファイル名にプロジェクト名の正規化されたバージョンを含めるべきかどうか |
support-legacysupport-legacy | falsefalse | Whether or not to include a setup.py file to support legacy installation mechanismssetup.pyファイルを含めてレガシーインストールメカニズムをサポートするかどうか |
Versions¶バージョン¶
| Versionバージョン | Description説明 |
|---|---|
standard (default)standard (デフォルト) | The latest conventional format最新の従来のフォーマット |
Default file selection¶デフォルトファイル選択¶
When the user has not set any file selection options, all files that are not ignored by your VCS will be included.ユーザーがいかなるファイル選択オプションを設定していない場合、あなたのVCSによって無視されていないすべてのファイルが含まれます。
Note注意
The following files are always included and cannot be excluded:次のファイルは常に含まれ、除外することはできません:
/pyproject.toml/pyproject.toml/hatch.toml/hatch.toml/hatch_build.py/hatch_build.py/.gitignoreor/.hgignore/.gitignoreまたは/.hgignore- Any defined
readmefile定義されたreadmeファイル - All defined
license-files定義されたすべてのlicense-files
Reproducibility¶再現性¶
Reproducible builds are supported.再現可能なビルドがサポートされています。
Build data¶ビルドデータ¶
This is data that can be modified by build hooks.これはビルドフックによって変更可能なデータです。
| Dataデータ | Defaultデフォルト | Description説明 |
|---|---|---|
dependenciesdependencies | Extra project dependencies追加のプロジェクト依存関係 |