[Rpm-maint] [rpm-software-management/rpm] Python generators: console_scripts entry points require setuptools (#666)
Igor Gnatenko
notifications at github.com
Tue Apr 16 09:30:05 UTC 2019
ignatenkobrain commented on this pull request.
> @@ -191,6 +191,11 @@
py_deps[name].append(spec)
if not dep.specs:
py_deps[name] = []
+ # console_scripts/gui_scripts entry points need pkg_resources from setuptools
+ if ('setuptools' not in py_deps and
+ (dist.get_entry_map('console_scripts') or
+ dist.get_entry_map('gui_scripts'))):
+ py_deps['setuptools'] = []
shouldn't that be `python{dist.py_version}dist(setuptools)`?
--
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/pull/666#pullrequestreview-227082816
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190416/005c39df/attachment.html>
More information about the Rpm-maint
mailing list