File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,22 @@ build it by default. This means that your project may not be ready for distribut
1313the effect of declaring a build system in the
1414[ project concept] ( ../concepts/projects.md#build-systems ) documentation.
1515
16+ !!! note
17+
18+ If you have internal packages that you do not want to be published, you can mark them as
19+ private:
20+
21+ ```toml
22+ [project]
23+ classifiers = ["Private :: Do Not Upload"]
24+ ```
25+
26+ This setting makes PyPI reject your uploaded package from publishing. It does not affect
27+ security or privacy settings on alternative registries.
28+
29+ We also recommend only generating per-project tokens: Without a PyPI token matching the project,
30+ it can't be accidentally published.
31+
1632## Building your package
1733
1834Build your package with ` uv build ` :
You can’t perform that action at this time.
0 commit comments