sbp commented on issue #367:
URL: 
https://github.com/apache/tooling-trusted-releases/issues/367#issuecomment-3855058119

   The Python source build process creates a similar metadata file, `PKG-INFO`. 
This is mandatory [according to the Python Packaging User 
Guide](https://packaging.python.org/en/latest/specifications/source-distribution-format/#source-distribution-file-format):
   
   > This directory must also contain a `pyproject.toml` in the format defined 
in [pyproject.toml 
specification](https://packaging.python.org/en/latest/specifications/pyproject-toml/#pyproject-toml-spec),
 and a `PKG-INFO` file containing metadata in the format described in the [Core 
metadata 
specifications](https://packaging.python.org/en/latest/specifications/core-metadata/#core-metadata)
 specification.
   
   The file was introduced in 2001 by [PEP 
241](https://peps.python.org/pep-0241/#including-metadata-in-packages), which 
notes that the file must also _not_ be present in the original repository:
   
   > Developers may not provide their own PKG-INFO file. The “sdist” command 
will, if it detects an existing PKG-INFO file, terminate with an appropriate 
error message. This should prevent confusion caused by the PKG-INFO and 
setup.py files being out of sync.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to