[Distutils] including a third party egg without "installing" it

Randall Smith randall at tnr.cc
Fri May 15 00:23:30 CEST 2009


P.J. Eby wrote:
> Yes.  Simply install your entire application as eggs and scripts in a 
> single directory (using "easy_install -maxd somedir myapp") and then 
> tarball and ship "somedir".  Less muss, less fuss, and no require().  
> (I.e., just declare your dependencies in setup.py)

So far, I like this.  I installed the script in the same directory (I 
passing "mad" to easy_install).

cd myapp/trunk
easy_install -mad ~/tmp/appdir --script-dir=~/tmp/appdir .

Thanks.

--Randall



More information about the Distutils-SIG mailing list