I'm trying to install to a non-standard directory. Something akin to "python setup.py install --prefix=`pwd`/junk" using gnu makefile standards semantics for --prefix but I can't seem to find the right arguments to install to make this happen. The closest I can seem to find is:

    python setup.py install --prefix=`pwd`/junk --install-layout=unix

But that returns errors:

   distutils.errors.DistutilsError: can't create or remove files in
   install directory

   The following error occurred while trying to add or remove files in the
   installation directory:

        [Errno 2] No such file or directory:
   
'/home/rich/projects/rcmp/junk/lib/python2.6/site-packages/test-easy-install-12743.pth'

   The installation directory you specified (via --install-dir,
   --prefix, or
   the distutils default setting) was:

        /home/rich/projects/rcmp/junk/lib/python2.6/site-packages/

   This directory does not currently exist.  Please create it and try
   again, or
   choose a different installation directory (using the -d or --install-dir
   option).

Although there doesn't appear to be any --install-dir option.

Can anyone explain what any of the 13 options related to this are intended to do? Or better, can anyone tell me which one I want?

--rich
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to