File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,17 +100,20 @@ The recommendation is to use a test runner such as pytest_.
100100
101101A trusted replacement is :ref: `twine `:
102102
103- * ``python -m twine check ``
104- * ``python -m twine register ``
105- * ``python -m twine upload ``
103+ * ``python -m twine check --strict dist/* ``
104+ * ``python -m twine register dist/*.whl `` [#not-pypi ]_
105+ * ``python -m twine upload dist/* ``
106+
107+ .. [#not-pypi ] Not necessary, nor supported on :term: `PyPI <Python Package Index (PyPI)> `.
108+ But might be necessary on other :term: `package indexes <package index> `.
106109
107110
108111 ``python setup.py --version ``
109112-----------------------------
110113
111114A possible replacement solution (among others) is to rely on setuptools-scm _:
112115
113- * ``python -m setuptools-scm ``
116+ * ``python -m setuptools_scm ``
114117
115118.. _setuptools-scm : https://setuptools-scm.readthedocs.io/en/latest/usage/#as-cli-tool
116119
You can’t perform that action at this time.
0 commit comments