Skip to content

Commit a2283a1

Browse files
committed
Add "python setup.py --version" replacement command
1 parent 83223a0 commit a2283a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/guides/modernize-setup-py-project.rst

+4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ and their recommended replacement commands should be used instead:
3737
+---------------------------------+ |
3838
| ``python setup.py bdist_wheel`` | |
3939
+---------------------------------+----------------------------------------+
40+
| ``python setup.py --version`` | ``python -m setuptools_scm`` |
41+
| (when using setuptools-scm_) | |
42+
+---------------------------------+----------------------------------------+
4043

44+
.. _setuptools-scm: https://setuptools-scm.readthedocs.io
4145

4246
For more details:
4347

0 commit comments

Comments
 (0)