New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python generators: Add setuptools dependency for console_script entry points #664
Comments
Example metadata:
Other possibility:
|
is it possible knowing that using pkg_resources API? |
Yes, working on it. |
hroncok
added a commit
to hroncok/rpm
that referenced
this issue
Apr 16, 2019
hroncok
added a commit
to hroncok/rpm
that referenced
this issue
Apr 16, 2019
hroncok
added a commit
to hroncok/rpm
that referenced
this issue
Apr 16, 2019
ignatenkobrain
pushed a commit
that referenced
this issue
Apr 16, 2019
This was referenced Nov 27, 2019
ffesti
pushed a commit
to ffesti/rpm
that referenced
this issue
Feb 18, 2020
Fixes rpm-software-management#664 (cherry picked from commit 98d6b7b)
ffesti
pushed a commit
to ffesti/rpm
that referenced
this issue
Mar 2, 2020
Fixes rpm-software-management#664 (cherry picked from commit 98d6b7b)
ffesti
pushed a commit
to ffesti/rpm
that referenced
this issue
Mar 23, 2020
Fixes rpm-software-management#664 (cherry picked from commit 98d6b7b)
hroncok
added a commit
to rpm-software-management/python-rpm-packaging
that referenced
this issue
Apr 7, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 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/
The text was updated successfully, but these errors were encountered: