Incalement votre

Archive for October 2009

Django, setuptools, distutils and the python environment

written by arrakis, on Oct 10, 2009 7:21:00 PM.

A couple of months ago I started to worked on a django project for a big organisation. I didn't have any experience of django but I came from the pylons/plone/python world.

For me it was logical to use the following architecture for the project:

projectname/
   src/
     django-app1
     django-app2
     django-main-project
   buildout/
     bin/
        django
        buildout
        python
        ...
     development.cfg
     production.cfg
     ...

I found a "good" recipe for django on pypi, djangorecipe. This recipe deploy a django architecture for a buildout-style project. There is a couple of problems with this recipe and with django in setuptools like projects:

1. The first problem with this recipe is that you cannot create your project as an egg, you need to use it directly in your buildout directory. It cause me problem cause all the configuration of my projects and parts of the code need to be in the django-project director. I WANT AN EGG!

2. Secondly, it try to download django from the svn repository, but I want to use the one available from pypi.

3. When I install an application for django, from pypi, I don't wanna be forced to configured it in settings.py. Entry points everybody ?

4. Paster is now the way to work when deploying and creating projects in Python. It would be easier and better to use paster and templates to create new django type of projects.


Maybe I should just re-switch to pylons but I'm not one who could take this decision....

What is your experience with django, buildout and the kind of things ?

 

Quand les journalistes twittent

written by arrakis, on Oct 7, 2009 5:15:04 PM.

C'est drôle, de plus en plus de journalistes se plaignent des nouveaux médias et en même temps ils embarquent dans la vague.

Les journalistes de La Presse ont leur blog, la même chose pour le Voir...

Mais ce qui est drôle c'est que le style journalistique semble être influencé par les nouvelles technologies.

Par exemple, dans cet article d'André Duchesne, on croirait que l'article provient du fil twitter du journaliste. C'est cours, c'est simple, ça dit ce que ça veut dire, ou ça ne dit rien, c'est selon...

Selon moi, si monde journalistique veut préserver son importance dans l'univers des communications, il va falloir faire autrement.

On lit les journaux pour l'analyse après tout...

D'autres exemples de journalistes twitteux ?

 

Resume Blog Contact Projects Buildbot Code Slides fr en