|
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: Python Packaging User Guide \n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | | -"POT-Creation-Date: 2025-12-04 13:42+0000\n" |
| 11 | +"POT-Creation-Date: 2025-12-12 07:05+0000\n" |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -6227,111 +6227,115 @@ msgstr "" |
6227 | 6227 | msgid "Do **not** use :ref:`distutils`, which is deprecated, and has been removed from the standard library in Python 3.12, although it still remains available from setuptools." |
6228 | 6228 | msgstr "" |
6229 | 6229 |
|
6230 | | -#: ../source/guides/tool-recommendations.rst:112 |
| 6230 | +#: ../source/guides/tool-recommendations.rst:115 |
| 6231 | +msgid "Build backends for extension modules" |
| 6232 | +msgstr "" |
| 6233 | + |
| 6234 | +#: ../source/guides/tool-recommendations.rst:117 |
6231 | 6235 | msgid "For packages with :term:`extension modules <extension module>`, it is best to use a build system with dedicated support for the language the extension is written in, for example:" |
6232 | 6236 | msgstr "" |
6233 | 6237 |
|
6234 | | -#: ../source/guides/tool-recommendations.rst:116 |
| 6238 | +#: ../source/guides/tool-recommendations.rst:121 |
6235 | 6239 | msgid ":ref:`setuptools` -- natively supports C and C++ (with third-party plugins for Go and Rust)," |
6236 | 6240 | msgstr "" |
6237 | 6241 |
|
6238 | | -#: ../source/guides/tool-recommendations.rst:117 |
| 6242 | +#: ../source/guides/tool-recommendations.rst:122 |
6239 | 6243 | msgid ":ref:`meson-python` -- C, C++, Fortran, Rust, and other languages supported by Meson," |
6240 | 6244 | msgstr "" |
6241 | 6245 |
|
6242 | | -#: ../source/guides/tool-recommendations.rst:118 |
| 6246 | +#: ../source/guides/tool-recommendations.rst:123 |
6243 | 6247 | msgid ":ref:`scikit-build-core` -- C, C++, Fortran, and other languages supported by CMake," |
6244 | 6248 | msgstr "" |
6245 | 6249 |
|
6246 | | -#: ../source/guides/tool-recommendations.rst:119 |
| 6250 | +#: ../source/guides/tool-recommendations.rst:124 |
6247 | 6251 | msgid ":ref:`maturin` -- Rust, via Cargo." |
6248 | 6252 | msgstr "" |
6249 | 6253 |
|
6250 | | -#: ../source/guides/tool-recommendations.rst:123 |
| 6254 | +#: ../source/guides/tool-recommendations.rst:128 |
6251 | 6255 | msgid "Building distributions" |
6252 | 6256 | msgstr "" |
6253 | 6257 |
|
6254 | | -#: ../source/guides/tool-recommendations.rst:125 |
| 6258 | +#: ../source/guides/tool-recommendations.rst:130 |
6255 | 6259 | msgid "The standard tool to build :term:`source distributions <source distribution (or \"sdist\")>` and :term:`wheels <wheel>` for uploading to PyPI is :ref:`build`. It will invoke whichever build backend you :ref:`declared <pyproject-guide-build-system-table>` in :file:`pyproject.toml`." |
6256 | 6260 | msgstr "" |
6257 | 6261 |
|
6258 | | -#: ../source/guides/tool-recommendations.rst:130 |
| 6262 | +#: ../source/guides/tool-recommendations.rst:135 |
6259 | 6263 | msgid "Do **not** use ``python setup.py sdist`` and ``python setup.py bdist_wheel`` for this task. All direct invocations of :file:`setup.py` are :ref:`deprecated <setup-py-deprecated>`." |
6260 | 6264 | msgstr "" |
6261 | 6265 |
|
6262 | | -#: ../source/guides/tool-recommendations.rst:134 |
| 6266 | +#: ../source/guides/tool-recommendations.rst:139 |
6263 | 6267 | msgid "If you have :term:`extension modules <extension module>` and want to distribute wheels for multiple platforms, use :ref:`cibuildwheel` as part of your CI setup to build distributable wheels." |
6264 | 6268 | msgstr "" |
6265 | 6269 |
|
6266 | | -#: ../source/guides/tool-recommendations.rst:140 |
| 6270 | +#: ../source/guides/tool-recommendations.rst:145 |
6267 | 6271 | msgid "Uploading to PyPI" |
6268 | 6272 | msgstr "" |
6269 | 6273 |
|
6270 | | -#: ../source/guides/tool-recommendations.rst:142 |
| 6274 | +#: ../source/guides/tool-recommendations.rst:147 |
6271 | 6275 | msgid "For projects hosted on or published via supported CI/CD platforms, it is recommended to use the :ref:`Trusted Publishing <trusted-publishing>`, which allows the package to be securely uploaded to PyPI from a CI/CD workflow without a manually configured API token." |
6272 | 6276 | msgstr "" |
6273 | 6277 |
|
6274 | | -#: ../source/guides/tool-recommendations.rst:147 |
| 6278 | +#: ../source/guides/tool-recommendations.rst:152 |
6275 | 6279 | msgid "As of November 2024, PyPI supports the following platforms as Trusted Publishing providers:" |
6276 | 6280 | msgstr "" |
6277 | 6281 |
|
6278 | | -#: ../source/guides/tool-recommendations.rst:150 |
| 6282 | +#: ../source/guides/tool-recommendations.rst:155 |
6279 | 6283 | msgid "GitHub Actions (on ``https://github.com``)" |
6280 | 6284 | msgstr "" |
6281 | 6285 |
|
6282 | | -#: ../source/guides/tool-recommendations.rst:151 |
| 6286 | +#: ../source/guides/tool-recommendations.rst:156 |
6283 | 6287 | msgid "GitLab CI/CD (on ``https://gitlab.com``)" |
6284 | 6288 | msgstr "" |
6285 | 6289 |
|
6286 | | -#: ../source/guides/tool-recommendations.rst:152 |
| 6290 | +#: ../source/guides/tool-recommendations.rst:157 |
6287 | 6291 | msgid "ActiveState" |
6288 | 6292 | msgstr "" |
6289 | 6293 |
|
6290 | | -#: ../source/guides/tool-recommendations.rst:153 |
| 6294 | +#: ../source/guides/tool-recommendations.rst:158 |
6291 | 6295 | msgid "Google Cloud" |
6292 | 6296 | msgstr "" |
6293 | 6297 |
|
6294 | | -#: ../source/guides/tool-recommendations.rst:155 |
| 6298 | +#: ../source/guides/tool-recommendations.rst:160 |
6295 | 6299 | msgid "The other available method is to upload the package manually using :ref:`twine`." |
6296 | 6300 | msgstr "" |
6297 | 6301 |
|
6298 | | -#: ../source/guides/tool-recommendations.rst:159 |
| 6302 | +#: ../source/guides/tool-recommendations.rst:164 |
6299 | 6303 | msgid "**Never** use ``python setup.py upload`` for this task. In addition to being :ref:`deprecated <setup-py-deprecated>`, it is insecure." |
6300 | 6304 | msgstr "" |
6301 | 6305 |
|
6302 | | -#: ../source/guides/tool-recommendations.rst:164 |
| 6306 | +#: ../source/guides/tool-recommendations.rst:169 |
6303 | 6307 | msgid "Workflow tools" |
6304 | 6308 | msgstr "" |
6305 | 6309 |
|
6306 | | -#: ../source/guides/tool-recommendations.rst:166 |
| 6310 | +#: ../source/guides/tool-recommendations.rst:171 |
6307 | 6311 | msgid "These tools are environment managers that automatically manage virtual environments for a project. They also act as \"task runners\", allowing you to define and invoke tasks such as running tests, compiling documentation, regenerating some files, etc. Some of them provide shortcuts for building distributions and uploading to PyPI, and some support lock files for applications. They often call the tools mentioned above under the hood. In alphabetical order:" |
6308 | 6312 | msgstr "" |
6309 | 6313 |
|
6310 | | -#: ../source/guides/tool-recommendations.rst:174 |
| 6314 | +#: ../source/guides/tool-recommendations.rst:179 |
6311 | 6315 | msgid ":ref:`Flit`," |
6312 | 6316 | msgstr "" |
6313 | 6317 |
|
6314 | | -#: ../source/guides/tool-recommendations.rst:175 |
| 6318 | +#: ../source/guides/tool-recommendations.rst:180 |
6315 | 6319 | msgid ":ref:`Hatch`," |
6316 | 6320 | msgstr "" |
6317 | 6321 |
|
6318 | | -#: ../source/guides/tool-recommendations.rst:176 |
| 6322 | +#: ../source/guides/tool-recommendations.rst:181 |
6319 | 6323 | msgid ":doc:`nox <nox:index>`," |
6320 | 6324 | msgstr "" |
6321 | 6325 |
|
6322 | | -#: ../source/guides/tool-recommendations.rst:177 |
| 6326 | +#: ../source/guides/tool-recommendations.rst:182 |
6323 | 6327 | msgid ":ref:`PDM`," |
6324 | 6328 | msgstr "" |
6325 | 6329 |
|
6326 | | -#: ../source/guides/tool-recommendations.rst:178 |
| 6330 | +#: ../source/guides/tool-recommendations.rst:183 |
6327 | 6331 | msgid ":ref:`Pipenv`," |
6328 | 6332 | msgstr "" |
6329 | 6333 |
|
6330 | | -#: ../source/guides/tool-recommendations.rst:179 |
| 6334 | +#: ../source/guides/tool-recommendations.rst:184 |
6331 | 6335 | msgid ":ref:`Poetry`," |
6332 | 6336 | msgstr "" |
6333 | 6337 |
|
6334 | | -#: ../source/guides/tool-recommendations.rst:180 |
| 6338 | +#: ../source/guides/tool-recommendations.rst:185 |
6335 | 6339 | msgid ":doc:`tox <tox:index>`." |
6336 | 6340 | msgstr "" |
6337 | 6341 |
|
|
0 commit comments