File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,18 @@ Release Process
3535To ensure a clean `package <https://pypi.org/project/PyLD/ >`_ upload to PyPI _,
3636use a clean checkout, and run the following:
3737
38+ * For more info, look at the packaging
39+ `guide <https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/ >`_.
40+ * Setup an `API token <https://pypi.org/help/#apitoken >`_. Recommend using a
41+ specific "PyLD" token and set it up as a "repository" in your
42+ `~/.pypirc <https://packaging.python.org/en/latest/specifications/pypirc/ >`_
43+ for use in the upload command.
44+ * The below builds and uploads a sdist and wheel. Adjust as needed depending
45+ on how you manage and clean "dist/" dir files.
3846* ``git checkout {version} ``
39- * ``python setup.py sdist upload ``
47+ * ``python3 -m build ``
48+ * ``twine check dist/* ``
49+ * ``twine upload -r PyLD dist/* ``
4050
4151Implementation Report Process
4252-----------------------------
You can’t perform that action at this time.
0 commit comments