Consider the following example:
setup.py:
from setuptools import setup
setup()
setup.cfg:
[metadata]
name = setup-cfg-example
version = 0.0.0
[options]
install_requires =
foobar
When building a built distribution, the following metadata is produced:
Metadata-Version: 2.1
Name: setup-cfg-example
Version: 0.0.0
Summary: UNKNOWN
Home-page: UNKNOWN
Author: UNKNOWN
Author-email: UNKNOWN
License: UNKNOWN
Platform: UNKNOWN
Requires-Dist: foobar
UNKNOWN
However for the same source distribution:
Metadata-Version: 1.0
Name: setup-cfg-example
Version: 0.0.0
Summary: UNKNOWN
Home-page: UNKNOWN
Author: UNKNOWN
Author-email: UNKNOWN
License: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN
In this case, where install_requires is set in setup.cfg and is completely deterministic, should setuptools include Requires-Dist in the metadata for the source distribution?
Consider the following example:
setup.py:setup.cfg:When building a built distribution, the following metadata is produced:
However for the same source distribution:
In this case, where
install_requiresis set insetup.cfgand is completely deterministic, shouldsetuptoolsincludeRequires-Distin the metadata for the source distribution?