Archive for the 'Python' Category


zoomer.de - DIE machen Nachrichten

zoomer.de - DIE machen Nachrichtenwe made it. http://www.zoomer.de is finally online.

A large part of the Lovely Team was working hard during the last 6 month to get the thing going.

The Technology behind it? Lovely!

lovely.news = cutting edge Python/Zope3 software, PostgreSQL Databases, ZEO Clusters, WSGI pipelines, Varnish Caches, Nginx Reverse Proxies, F5 Load Balancers.

.

The content on zoomer.de? Lovely as well! A young, dynamic team. Backed by long-term news experts. Just watch their video and use zoomer.de :)

Thanks a lot, lovely team. especially quodt, jukart, schwendinger, dobee, jayeff, wolfabua, stmartin, iham, pjee, haudum. you rock!

Ian Bickings workingenv

While beeing at the Zope3 Training with Philipp I learned about Ian Bickings workingenv.
With workingenv you can easily create an isolated environment for python development. This is especially useful if you download eggs and don’t want to have them in your system python.

Here’s how you use it:

wget http://svn.colorstudy.com/home/ianb/workingenv/workingenv.py
python workingenv.py –home /Users/batlogg/zope/testenv
cd /Users/batlogg/zope/testenv
source bin/activate
bin/easy_install hurry.query

Thanks Ian and Philipp

Ian Bickings workingenv

While beeing at the Zope3 Training with Philipp I learned about Ian Bickings workingenv.
With workingenv you can easily create an isolated environment for python development. This is especially useful if you download eggs and don’t want to have them in your system python.

Here’s how you use it:

wget http://svn.colorstudy.com/home/ianb/workingenv/workingenv.py
python workingenv.py --home /Users/batlogg/zope/testenv
cd /Users/batlogg/zope/testenv
source bin/activate
bin/easy_install hurry.query

Thanks Ian and Philipp

Installing readline for python on Mac OS X Tiger

If you like to use your arrow keys in an interactive Python on OS X, you definately need readline. But what do you do, when installing py-readline via DarwinPorts doesn’t work??

Today i found this:

I had the same problem. If you download the patch files yourself from ftp://ftp.cwru.edu/pub/bash/readline-5.1-patches (readline51-00[1-4]) and put them in /opt/local/var/db/dports/distfiles/readline, then port install readline will work.

DarwinPorts in Ruby on Rails

this might be useful for other packages which can’t be fetched with the ‘port install <package>’ command

Yahoo officially supports python

Yahoo now has its own python section in its developer center featuring howto’s and links.
you can see it in the Python Developer Center

there’s also a linkt to a mailinglist dealing with python access to yahoo webservices

Yahoos Seiten für Software-Entwickler sind um eine Rubrik reicher geworden: Das Python Developer Center lockt Anhänger der objektorientierten Skriptsprache vornehmlich mit einer Reihe von Howto-Artikeln. Darüber hinaus finden sich auf der Seite Links auf andere Ressourcen wie Python-Blogs oder -Tutorials sowie eine Einladung zum Abonnieren einer Mailingliste, die sich mit der Programmierschnittstelle zum Zugriff auf die Yahoo-Web-Services beschäftigt.

heise online - Yahoo! lockt Python-Entwickler

technorati tags:,

get kaa.metadata (mmpython) running on OS X

Dependencies

get and install libxml2

download sources for libxml2 and libxslt from http://xmlsoft.org/downloads.html
build and install

$ ./configure –with-python=/<pathtoyourpythonbinary>/python
$ make
$ sudo make install

Install kaa

first get kaa from svn:

$ svn co svn://svn.freevo.org/kaa/trunk kaa

i had to disable the building of the shared memory module on OS X because it wouldn’t build. As it seems kaa.metadata works without the shared memory module, but maybe someone knows how to get this built on OS X with the shm module.
go into kaa/base and edit setup.py by changing (line 36) this

extensions.append( Extension(’shmmodule’, ['src/extensions/shmmodule.c']) )

to this

#extensions.append( Extension(’shmmodule’, ['src/extensions/shmmodule.c']) )

or use this diff:

36c36
< extensions.append( Extension(’shmmodule’, ['src/extensions/shmmodule.c']) )

> #extensions.append( Extension(’shmmodule’, ['src/extensions/shmmodule.c']) )

until now the support for cdrom drives only works on Linux, so i disabled it on OS X.
now go to kaa/metadata and edit setup.py:

change this

ext_modules = [ cdrom, ifoparser ]

to

#ext_modules = [ cdrom, ifoparser ]
ext_modules = [ ifoparser ]

and change this

ext_modules = [ cdrom ]

to

#ext_modules = [ cdrom ] ext_modules = [ ]

or use this diff:

58c58,59
< ext_modules = [ cdrom, ifoparser ]

> #ext_modules = [ cdrom, ifoparser ]
> ext_modules = [ ifoparser ]
61c62,63
< ext_modules = [ cdrom ]

> #ext_modules = [ cdrom ]
> ext_modules = [ ]

now go back to kaa/base and install the kaa.base package:

$ sudo python setup.py install

now go to kaa/metadata and install the kaa.metadata package:

$ sudo python setup.py install

you may use a different python instance, like /opt/python24/bin/python or something else if you don’t wanna install kaa into the default python on OS X.

Tags: , ,