File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed 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_.
100
100
101
101
A trusted replacement is :ref: `twine `:
102
102
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> `.
106
109
107
110
108
111
``python setup.py --version ``
109
112
-----------------------------
110
113
111
114
A possible replacement solution (among others) is to rely on setuptools-scm _:
112
115
113
- * ``python -m setuptools-scm ``
116
+ * ``python -m setuptools_scm ``
114
117
115
118
.. _setuptools-scm : https://setuptools-scm.readthedocs.io/en/latest/usage/#as-cli-tool
116
119
You can’t perform that action at this time.
0 commit comments