Bashton Blog

TAG | django

Sep/08

4

Django 1.0 Released

The final version of Django 1.0 has been released.  Debian packages are available from the unstable repository and these should install cleanly on Ubuntu too.

As I noted previously with the Alpha releases, an RPM for RHEL5/Centos can be built by doing:

python setup.py bdist_rpm

Note you’ll need an updated MySQL-python library installed, which can be found below.

MySQL-python-1.2.2-1.x86_64.rpm

If you’re not using a 64bit server, you can download this source RPM and rebuild via rpmbuild –rebuild:

MySQL-python-1.2.2-1.src.rpm

, , ,

We’ve been using Django a lot for some internal projects, and for various reasons we’re using CentOS 5 on the servers running them.

One nice feature of the Python build system I didn’t know about until today is the ability to make RPMs using the setup.py script.  To build yourself some Django RPMs, just run:

python setup.py bdist_rpm

Unfortunately, this feature seems a bit hit and miss.  Django needs a newer version of MySQL-python than ships with EL5, but unfortunately the bdist_rpm for this doesn’t work.

As such, here’s a link to an updated MySQL-python RPM I’ve built:

MySQL-python-1.2.2-1.x86_64.rpm

If you’re not using a 64bit server, you can download this source RPM and rebuild via rpmbuild –rebuild:

MySQL-python-1.2.2-1.src.rpm

, , ,

Find it!

Theme Design by devolux.nh2.me