Chris Miles wrote: > On 23/09/2008, at 10:06 AM, Christopher Arndt wrote: >> Thatswhy the official and supported installation method is the one >> described on http://docs.turbogears.org/Install using the tgsetup.py >> script, which will install the correct current stable version. > > I don't agree with this decision. I never use tgsetup.py (I forgot it > existed TBH)
That's hardly our fault, isn't it? ;) The main TG website links directly to the official install instructions that tell you to use tgsetup.py. The mentioning of easy_install on the main install page only shows how to use easy_install to install a specific version of TG. Some of the system-specific install instructions on other pages mention easy_install as an alternative (e.g. InstallUbuntu). I'm currently checking if the commands given there need to be corrected to include the version number. I anybody finds an incorrect easy_install command in the docs somewhere, please let me know. Besides, a plain "easy_install TurboGears" almost never worked reliably, because this doesn't install any extra requirements and may or may not find the binary eggs we provide on turbogears.org. > and the reason is that I distribute and deploy my TG > projects as eggs. The guys deploying the apps are instructed that all > they need to do is easy_install the application eggs and the > dependency requirements will install TurboGears/etc if necessary. > > My assumption is that setuptools will find the latest stable version > of 1.0.x from pypi, but as you say this is incorrect. This should be > made clear, as I (and others in the same position) will need to make > sure we define the TG dependencies as "turbogears < 1.1a" to ensure > 1.0.x is used, until such a time as we've been able to test and verify > 1.1 compatibility. That's a good point and I will update http://docs.turbogears.org/1.0/DeployWithAnEgg accordingly. If you (or someone else) wants to provide a patch for the doc, I'll be happy to use it. We might also want to think about whether we should change the 1.0 quickstart templates to to put "install_requires = ['TurboGears >=1.0.X, < 1.1b1'] in the setup.py by default. > I don't really understand why tgsetup.py should behave differently > than "easy_install turbogears". I thought tgsetup.py was simply a > helper script for users unfamiliar with setuptools/etc to make their > life easier. I would expect easy_install to be the standard > installation method, given that TG deployment is based around > setuptools/eggs. I already answered this point in my reply to Iain's post. Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
