The setup.py depends on cherrypy>2.1.1 - not available on the cherrypy
website. I can comment out this line and install cherrypy from their
SVN, although I'm not sure if this is healthy! I note there is a
cherrypy in the thirdparty directory, however even if I install this
then the turbogears setup.py chokes when it can't download the
cherrypy>2.1.1 off the web.
Also, how do I remove my 0.88 installation? Other than just keeping the
system cruft-free, I note that tg-admin still points to the 0.8.8
version. Is there a recommended way of fixing this?
As an aside, would information on how to do this installation be
suitable for inclusion as a INSTALL file in the root of the SVN tree?
Thanks,
engie
The SVN installation instructions are located here:
http://www.turbogears.com/community/contributing.html
To solve the Cherrypy dependency issue, do the following before
installing the SVN version of TG:
1) checkout the latest version of the TG trunk
2) from the command line, navigate to the <svn_root>/thirdparty/cherrpy
directory
3) issue the following command: "easy_install ." (don't include the
quotes)
After this completes successfully, navigate back to the svn root and
proceed with the installation as specified in the link I posted above.
The tg-admin utility should point to the correct TG version after the
new code has been successfully installed. You can also delete the old
.88 folder after the new TG version is working correctly.
Sean
Thanks again,
engie
There is only one way to install. The instructions you see that pop up
are notices that the dependencies are being moved around. If you're
following along with the trunk, that means changes on your part if you
want things to continue working.
Some of us are still in the learning stage, and having to check out
daily versions using SVN is time-consuming and inconvenient at best.
Many are not yet at the level where we may be expected to be checking
in patches, plugins, etc. and having to deal with SVN is an unnecessary
hindrance. It is, however, very important to be trying out the latest
development version while learning from what is posted on the mailing
list. Using an old version just doesn't cut it. So what's the answer
for a "lazy" learner?
Early on, when I was just becoming aware of TurboGears, I was lucky
enough to have come across a similar question to this: "How to Install
>From Nightly egg builds"
http://groups.google.com/group/turbogears/browse_thread/thread/d083ff5faf8a5f90
This may not be the "preferred" way or even the "best" way, but it is
ANOTHER way to keep more or less up to date. The latest TurboGears egg
is installed with:
easy_install -f http://www.opensource4you.com/nightly_tarballs.shtml
TurboGears
Some additional development packages are available on the
opensource4you.com site as well, but as a back-up, "nightly" tar files
of the TurboGears trunk are there too, so you can update Cherrypy, for
instance. There are ocassional "glitches", but that's life, and it
keeps you on your toes...The site has continued to provide a valuable
service to the TurboGears community.
I'm sorry to be critical, but again, there is never "only one way".
Harold Marshall
Sorry, I meant that 'There is only one obvious way to do it' ;]
Take care, this script will reinstall all your TurboGears dependencies.
You should really read the source to see what it does.