[Distutils] Distributable binary with dependencies

bharath ravi kumar reachbach at outlook.com
Mon Sep 2 12:33:48 CEST 2013


The hacking of sys.path required in option (1) suggested earlier is avoidable. I do not want my project to be setup-tools managed. Virtualenv + pip is hence the obvious choice.
Thanks,Bharath
> From: pje at telecommunity.com
> Date: Fri, 30 Aug 2013 13:15:57 -0400
> Subject: Re: [Distutils] Distributable binary with dependencies
> To: reachbach at outlook.com
> CC: carl at oddbird.net; distutils-sig at python.org
> 
> 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.)
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130902/9f09faac/attachment.html>


More information about the Distutils-SIG mailing list