You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
source/guides/distributing-packages-using-setuptools.rst probably needs an update, as it claims sampleproject should include files setup.py and setup.cfg (and maybe others)
#1252
Closed
kirisakow opened this issue
May 14, 2023
· 1 comment
The guide claims sampleproject should include files setup.py and setup.cfg (maybe others too), while sampleproject does no longer include those files since it has adopted PEP 621 metadata (see pypa/sampleproject#166). Also, matter discussed earlier today with dmtucker.
The most important file is setup.py which exists at the root of your project directory. For an example, see the setup.py in the PyPA sample project.
setup.py serves two primary functions:
It’s the file where various aspects of your project are configured. The primary feature of setup.py is that it contains a global setup() function. The keyword arguments to this function are how specific details of your project are defined. The most relevant arguments are explained in the section below.
It’s the command line interface for running various commands that relate to packaging tasks. To get a listing of available commands, run python setup.py --help-commands.
What's wrong?
The guide claims sampleproject should include files
setup.py
andsetup.cfg
(maybe others too), while sampleproject does no longer include those files since it has adopted PEP 621 metadata (see pypa/sampleproject#166). Also, matter discussed earlier today with dmtucker.Where?
The text was updated successfully, but these errors were encountered: