I believe this is a simple typo on the following page:
https://packaging.python.org/tutorials/packaging-projects/
Select setup.py (dynamic) in the section "Configuring metadata".
It correctly shows:

Now select setup.cfg (static) ...... it shows:

Surely you don't open setup.py and enter the following content.
I think one should open setup.cfg and enter the following content.