Skip to content

Commit 896aefe

Browse files
committed
Mention uv, pdm
1 parent 1a7e059 commit 896aefe

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

content/packaging.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ Once this is done, create yet another virtual environment and try to install fro
258258
$ python3 -m pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ calculator-myname
259259
$ deactivate
260260
261+
If you upload packages to PyPI or test PyPI often you can create an API token and
262+
`save it in the .pypirc file <https://packaging.python.org/en/latest/specifications/pypirc/#common-configurations>`__.
263+
261264
Tools that simplify sharing via PyPI
262265
------------------------------------
263266

@@ -268,13 +271,18 @@ confuse too much. If you web-search this, you will also see that recently the
268271
trend goes towards using ``pyproject.toml`` as more general
269272
alternative to the previous ``setup.py``.
270273

271-
There are at least two tools which try to make the packaging and PyPI interaction easier:
274+
There are at least five tools which try to make the packaging and PyPI interaction easier:
272275

276+
- `uv <https://docs.astral.sh/uv/>`__
277+
- `PDM <https://pdm-project.org/>`__
278+
- `Hatch <https://hatch.pypa.io/latest/>`__
273279
- `Poetry <https://python-poetry.org/>`__
274280
- `Flit <https://flit.pypa.io/>`__
275281

276-
If you upload packages to PyPI or test PyPI often you can create an API token and
277-
`save it in the .pypirc file <https://packaging.python.org/en/latest/specifications/pypirc/#common-configurations>`__.
282+
Today, due to standards such as ``pyproject.toml`` and ``pylock.toml``, to specify the
283+
package metadata and dependency lock file respectively, the four tools are largely
284+
cross-compatible amongst themselves and with ``pip``.
285+
278286

279287
Building a conda package and share it
280288
-------------------------------------

0 commit comments

Comments
 (0)