[Rpm-maint] [rpm-software-management/rpm] Python generators: Add setuptools dependency for console_script entry points (#664)

Miro Hrončok notifications at github.com
Tue Apr 16 09:08:12 UTC 2019


Almost no upstream specifies setuptools in install_requires. I guess that it is pretty straight forward upstream that if you pip install stuff, you already got setuptools installed.

However, [the console_scripts entry points](https://python-packaging.readthedocs.io/en/latest/command-line-scripts.html#the-console-scripts-entry-point) are de-facto standard now and they import from pkg_resources (part of setuptools).

Packages with console_scripts entry points need setuptools on runtime.

It is possible to see console_scripts entry points metadata and hence it is possible to require setuptools for packages with entry_points.

Example: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/YR6OG5CULN42R5FPKHWUASEGDWMABC5K/

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/664
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190416/7ccd0982/attachment-0001.html>


More information about the Rpm-maint mailing list