[Distutils] Distributable binary with dependencies

PJ Eby pje at telecommunity.com
Fri Aug 30 19:15:57 CEST 2013

On Mon, Aug 26, 2013 at 2:25 PM, bharath ravi kumar
<reachbach at outlook.com> wrote:
> Carl, Eby,
> Thanks for taking time to suggest various alternatives. Considering that the
> deployment hosts are identical in every as[ect, the approach of moving
> virtualenv's with packages pip-installed at build time appears the simplest,
> low-overhead  approach that can be implemented without hacking the
> environment or resorting to custom scripts. I'll go ahead with that  option.

What hacking the environment or custom scripts?

I'm confused, because AFAIK there are actually more steps to
pip-install a virtualenv and copy it to different machines, than there
are involved in using easy_install to create a portable installation.
In both cases, you end up with a directory to archive and copy, so the
only difference is in the commands used to build that directory, and
the layout of the directory afterwards.

Perhaps you misunderstood my post as meaning that you had to run
easy_install on the target system?

(I don't have any particular stake in what you do for your own system,
but I'm curious, both for the future reference of folks reading this
thread by way of Googling this question, and in case there is
something for me to learn or that I'm mistaken about, in relation
either to pip/virtualenv or your use case.  And certainly if you are
more familiar with pip+virtualenv, that would actually be sufficient
reason in this case to use it.  But I'd prefer future readers of this
thread not to be under an erroneous impression that easy_install
involves more steps, scripts, or environment changes in order to
implement this use case.  Thanks.)

More information about the Distutils-SIG mailing list