On Wed, 03 Nov 2010 at 10:01PM +0900, Dan Drake wrote: > That's pretty much what I want. As far as I can see, if I change > SITE_PACKAGES in setup.py, nothing at all should end up in > lib/python/site-packages -- but it does anyway.
Ah. Of course. It's distutils that is automatically putting stuff into /site-packages/sage; before, we would put a symlink there and everything got redirected appropriately. I need to tell distutils' install_lib function to not put things into the site-packages directory; anyone know how I can do that? I see an "install-dir" option for install_lib [1], but I don't want to use a setup.cfg file, I want the option to be determined by an environment variable. Suggestions? Thanks! Dan References: [1] http://svn.python.org/projects/python/trunk/Lib/distutils/command/install_lib.py -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature