[Distutils] entry points PEP

Daniel Holth dholth at gmail.com
Sat Jul 20 23:25:21 CEST 2013


On Sat, Jul 20, 2013 at 1:57 PM, Monty Taylor <monty.taylor at gmail.com> wrote:
> https://review.openstack.org/#/c/38000/
>
> On not-Windows, install a non-pkg_resources based script content. On
> windows, defer to underlying setuptools functionality. (the test failures
> showing on the patch were build farm issues which we just sorted, I'll
> run-check the patch once the farm is good)

Another way to make your scripts run faster is to use on-demand
imports. Mercurial does "from mercurial import demandimport;
demandimport.enable()". apipkg is another implementation. The drawback
is that some Python programs run incorrectly if the import order
changes.


More information about the Distutils-SIG mailing list