Use --single-version-externally-managed (also pip using this flag by default, so if you install via pip you'll get this behavior).
On Mon, Apr 20, 2009 at 12:28 PM, Christian Hudon <chr...@apstat.com> wrote: > Hello, > > We have a setup where a central /usr/local is copied to all our machines. > The packages installed in said central /usr/local are managed via stow. > (Basically, each package is installed in a separate directory under > /usr/local/stow, and invoking the stow command creates symlinks to make the > package appear under /usr/local.) > > This works very well for a wide range of packages: autoconf packages, CRAN > packages for R, etc. This includes plain distutils python packages (install > via "python setup.py install --prefix /usr/local/stow/some-package-name", > then run stow). The only exception is setuptools-based python packages. > > Is there a way to ask setuptools to do an install that looks more like a > standard distutils install? I don't care if I lose some the advanced > setuptools features. Basically, I need an install that's done via just > copying new files. Problems like setuptoosl checking that the destination > directory is in the PYTHONPATH I can work around (although if there's a > switch to disable that check, I'd be happy to learn about it). The main > problem is the file that's edited on each install to add a new line for each > package install via setuptools. Is there a way with setuptools of getting > just a directory tree (or a tarball, etc.) that either setuptools or myself > can just copy somewhere to have an installed python module? > > Thanks in advance for any help, > > Christian > > _______________________________________________ > Distutils-SIG maillist - distutils-...@python.org > http://mail.python.org/mailman/listinfo/distutils-sig > -- Ian Bicking | http://blog.ianbicking.org _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig