[Distutils] Creating an "app folder" with setuptools?
nathan at yergler.net
Wed Nov 8 13:31:32 CET 2006
On Wed, 2006-11-08 at 00:54 -0500, Phillip J. Eby wrote:
> At 07:53 PM 11/7/2006 -0800, Leif Strand wrote:
> >But perhaps I've just overlooked something. Is there a way to to tell
> >setuptools to simply do what it's told?
> -m (--multi-version) tells easy_install that you will be responsible for
> ensuring the package is on sys.path at runtime. It will not create
> easy-install.pth (although if there is one in the target directory, it will
> remove existing references to the package being installed), and it will not
> check PYTHONPATH or sys.path or .pth support.
You might also look at zc.buildout; it's zc.recipe.egg recipe has been
helpful the times I've used it for installing an egg, along with it's
dependencies in a folder outside of site-packages. It also will wrap
your scripts with wrappers that add the eggs to the PYTHONPATH. YMMV,
More information about the Distutils-SIG