[Distutils] Bundling Distribute
Tarek Ziadé
ziade.tarek at gmail.com
Fri Nov 6 02:22:42 CET 2009
On Fri, Nov 6, 2009 at 12:02 AM, cool-RR <cool-rr at cool-rr.com> wrote:
>
> I'm a bit lost. Is it possible in any way to have Distribute automatically
> installed when installing my program, without requiring an internet
> connection?
You need an internet connection unless you provide an archive of
distribute alongside
the distribute_setup.py script in your archive. In that case, it will
use it rather than getting
it at PyPI,
So yes, there is a way to get it installed with your distribution.
That's what the next virtualenv release
does in fact.
zc.buildout has a similar mechanism with its eggs folder. As a matter
of fact, some people build
their buildout instance and just zip it with all included
(pre-downloaded) dependencies. Then you can just unzip it
and use it with no internet connection on a similar target system.
That's a "big" binary distribution :)
Regards,
Tarek
More information about the Distutils-SIG
mailing list