[Python-ideas] install pip packages from Python prompt

Ivan Levkivskyi levkivskyi at gmail.com
Thu Nov 2 12:22:46 EDT 2017

Just another random idea: What about simply having two menu items in IDLE:

* Install/update package manager
* Open package manager

The first one will install the pipgui from PyPI (and pip if not already
The second one will run the GUI.

This way it looks like pipgui can be simply published on PyPI without
special-casing at all, or am I missing something?


On 2 November 2017 at 11:53, Nick Coghlan <ncoghlan at gmail.com> wrote:

> On 2 November 2017 at 18:46, Nathaniel Smith <njs at pobox.com> wrote:
>> But unfortuately this hasn't been standardized, and there's currently
>> no way to do the lookup from the stdlib, so maybe this is not so
>> helpful for IDLE...
> The entry point file format was recently promoted to a PyPA
> interoperability spec (without a PEP, as we documented it as-is, rather
> than changing anything): https://packaging.python.org/
> specifications/entry-points/
> While the point about the standard library lacking the ability to read the
> metadata for installed packages still stands, it's also not too hard to
> implement a rudimentary version that just iterates over sys.path looking
> for `entry_points.txt` files in `*.dist-info` subdirectories.
> Cheers,
> Nick.
> --
> Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20171102/1f568f77/attachment.html>

More information about the Python-ideas mailing list