Follow me as I struggle with rogue technology, insane programmers, and impossible math questions in a battle to the death.

Friday, February 01, 2008

Django

I installed Python 2.5.1, a pretty painless process other than uninstalling the Cygwin version of Python.

Then I downloaded the MySQLdb package, the Python interface to MySQL. Also painless.

Next I downloaded Django-0.96.1 and ran setup.py install and I got this error:

C:\Django-0.96.1>setup.py install
running install
running build
running build_py
error: package directory '\django' does not exist


People have reported this multiple times to the Django Project, and they don't consider it a bug.

I don't know what else I would call it when an official release has an installation script that doesn't even work. If it was me, I would have file the problem as a deployment bug, added the solution to the bug, and pointed any further questions there.

Regardless, I did downloaded the dev version from svn and copied over MANIFEST.in and setup.py, and the installation worked.

So far I've made it through the first tutorial. The console mode is interesting but I don't know how likely I would be to use that. It seems like a lot of work to learn all those new commands when I already know sql.

The model creation system seems nice, I like how it shows me the actual SQL it's using before it executes the command.

Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home