Skip to main content

Buildout with python2.4

I've got to write this down before I forget. With the newer distros, python 2.5 or 2.6 is the default python version of choice. But plone and zope currently still use python 2.4. And if you want buildout goodness you have to get buildout working with python 2.4. So if you're on ubuntu, first install these packages:

python2.4
python2.4-dev

And then google for ez_setup.py. Download it. Then run in your terminal:

abdullah@codebase:/$ sudo python2.4 ez_setup.py

That would install the 2.4 version of easy_install. Then to install buildout you just have to do like so:

abdullah@codebase:/$ sudo easy_install-2.4 zc.buildout

That would install buildout into your system. And then inside your plone or zope folder run:

abdullah@codebase:~/taskmanager$ buildout init

That would create a local instance of buildout for you to run specifically for your app. All eggs will be downloaded into that folder and would not pollute your system. To run the app specific buildout just do a :

abdullah@codebase:~/taskmanager$ bin/buildout -vvvv

That would run the local buildout. I just like it very very very very verbose.. :P

update: Sarogini found a link which deals with the problem of developing plone on ubuntu 9.04 in a more comprehensive manner here.

Comments

Popular posts from this blog

Dell Inspiron Mini 9

Yesterday went to Low Yat to buy my cousin a sub RM 1500 notebook. Of course with that kind of price tag it would have to be a netbook jelah. Anyhow, I was short on time so I didn't get to browse thoroughly. Just went for one quick round around level 2 and picked the one that I thought would fulfil his need. The thing is, as soon as I stepped out of the lift there was a shop that sold the new Dell Inspiron Mini 9 for only RM 1199. I was suprised. Just 1199. I couldn't believe my eyes. With original Windows XP and all. RM 1199. I thought there must be something wrong. Better survey first. So went around level 2. There was nothing that could match that price. Most of the other netbook from acer, asus and lenovo even was around RM 1600. So I decided I'll just go with the Dell lah. But to tell you the truth if I had money to buy for my own use, I'd go with the Lenovo Ideapad S10. Fuh.. she's one sweet mama... Smooth rounded curves, slim white profile. Pergh.. But anyway

First godot game published

I haven't published anything in google play for a very long time. I'm very happy to finally introduce my latest project to the public. It is a casual game called..... Add Block. Yeah.. The best original game name award coming right up. But seriously, try it out. Find in at the play store here . I love playing casual games on my phone. It's great to pass the time. But it doesn't really do anything for your skills. Or at least not anything for real life important skills (yes, I don't consider being able to identify the consecutive shapes or color as really important). So I decided to create one. So in this game, you practice your math skills. Find the adjacent blocks that add up to the total you need. So it's math, math is important right? Right?.... The levels are unlimited, the idea is that you keep on playing until you can't anymore. You'll die if you finally can't get the number of wins required to pass the level in time. You only have 100 se

Me and my sleep apnea

I have been suffering from sleep apnea for quite a few years already. It started to show when I was still with OSCC some 6 years back when I would sometimes "accidentally" sleep at my cubicle. Early on I just dismissed it as because I was growing fat (we ate a lot at OSCC.. :P and I barely went anywhere except my cubicle) and also because of babies. Oh babies.. those cute little things that keeps you awake at night so that they can be so cute and charming when your friends and relatives come over the next day. So it was dismissed. Later on I got more and more used to sleeping at work, started associating it with my lack of motivation and sometimes feeling of downright depression. And I kept growing fatter and fatter, which I assumed was the reason why I was getting more and more tired. But then around 2 years ago a friend of mine suggested maybe I've got sleep apnea. And a few other people suggested I go to a sleep clinic and all that. Put it off for quite a while. Unti