[Distutils] Q about best practices now (or near future)

Carl Meyer carl at oddbird.net
Mon Jul 22 21:14:07 CEST 2013

On 07/22/2013 06:31 AM, Daniel Holth wrote:
> Yes, extras are *only* a way to create aliases for a set of
> dependencies. They are not recorded as installed. It should make no
> difference whether you install ipython[notebook], look up the
> dependencies for the ipython notebook and install them manually, or
> happen to have the ipython[notebook] dependencies installed and then
> later install ipython itself.

In the broad view I don't think this is true, when you consider
uninstall. If I install ipython[notebook] and later uninstall ipython,
it would be reasonable for the uninstaller to prompt me to uninstall all
the ipython notebook dependencies by default, whereas it should not do
so if I had installed them separately and directly.

That said, the REQUESTED flag in PEP 376 is probably sufficient for
this, so it may still be true that there's no need to store which extras
were installed with a package.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130722/73e5cca1/attachment.pgp>

More information about the Distutils-SIG mailing list