I'm not the world's most brilliant Linux guru, but I have SuSE and I
installed python like thus:

yast -i python python-devel

Yet, it appears to have installed python to /usr/bin and /usr/lib. As a
result, when I try to use any of the turbogears installers, I get an
error (pasted at the end of this post) as it tries to install to the
site-packages directory under /usr/local/lib.

With the ez_setup.py, it's easier to get this to work by using the -d
parameter to redirect it. I don't seem to have any such easy mechanism
to remedy this using your new script installer.

At any rate, just some rambling,
-Rez


# python tgsetup.py
TurboGears Installer
Beginning setuptools/EasyInstall installation and TurboGearsdownload
Downloading
http://cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.6c2-py2.4.egg
error: 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:
'/usr/local/lib/python2.4/site-packages/test-easy-install-6962.pth'

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

    /usr/local/lib/python2.4/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).


Kevin Dangoor wrote:
> I can't believe this didn't occur to me before. Rather than
> constantly lengthening the install instructions, why not just script
> up what needs to happen and be done with it? If you've previously
> suggested this, sorry I didn't take care of it then!
>
> This script takes the place of ez_setup.py (which is, in fact,
> included in the same file). I can envision that it will eventually
> get dropped into a tarball with all of the eggs for handling offline
> installs, but for now it just handles online installs. It knows which
> versions of Python are appropriate, and points you in the right
> direction if you should have a different one. It will make sure that
> you're not installing from a directory that contains a "turbogears"
> directory (which is what EasyInstall would try to install). You don't
> need to give this -f, or any other parameter for that matter.
>
> Please give it a try and let me know how it works on your platform.
>
> http://www.turbogears.org/download/tgsetup.py
>
> Thanks,
> Kevin
>
> p.s. if you already have TurboGears 1.0b1 installed, it will be a bit
> less exciting. But, I wanted to get some eyes on it before I stick
> this in place of ez_setup.py.
>
> --
> Kevin Dangoor
> TurboGears / Zesty News
>
> email: [EMAIL PROTECTED]
> company: http://www.BlazingThings.com
> blog: http://www.BlueSkyOnMars.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to