Skip to content

Commit 510e3c4

Browse files
committed
Add note about setup.py requirement
1 parent 394bfc4 commit 510e3c4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

source/tutorials/packaging-projects.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ There are two types of metadata: static and dynamic.
119119
dynamic or determined at install-time, as well as extension modules or
120120
extensions to setuptools, need to go into :file:`setup.py`.
121121

122-
Static metadata should be preferred and dynamic metadata should be used only as
123-
an escape hatch when absolutely necessary.
122+
Static metadata (:file:`setup.cfg`) should be preferred. Dynamic metadata (:file:`setup.py`)
123+
should be used only as an escape hatch when absolutely necessary. :file:`setup.py` used to
124+
be required, but can be omitted in modern setuptools.
124125

125126

126127
.. tab:: :file:`setup.cfg` (static)

0 commit comments

Comments
 (0)