|
Saturday, June 13, 2009
TurboGears? Hmmm. Try Django.
I'm going for 2.0. Following the instructions here: sudo easy_install -i http://www.turbogears.org/2.0/downloads/current/index tg.devtools Naturally, I got complaints, so I had to do this: Nope. It seems that no force on earth can update the default MacOS install of setuptools, so I just deleted it. The newer one had been put into /usr/local/bin by previous attempts to update setuptools (which is what the error message told me to do.) We're still gonna need db drivers, so The driver for sqlite is allegedly already part of Python. So back to the install of TurboGears. The 2.0 docs are full of talk of "virtual environments" which makes me queasy. The reason I'm doing Python is simplicity, and that shit is not simple. Like RoR (and PHP's ZF as I discovered) there is a CLI tool that sets things up. It's called paster. So we follow the directions here: http://turbogears.org/2.0/docs/main/QuickStart.html — very well written, btw. paster quickstart This is hell! It's worse than the PHP stuff! I wanted to go Python for simplicity, but this is a Heavy Weight Framework. Sheesh. Oh, it looks like a nice enough framework, but I am not looking for a PhD in frameworks. I just wanna get my app out the door! And, most important, I need something that is ISP-friendly. I simply cannot imagine doing all these arcane gymnastics in a user directory without root access. Along the way I did and I love it! So a quick Labels: python Comments: |
Twitter UpdatesArchives |