# emerge -pv python
Make sure you have this package dev-python/ctypes installed:
# emerge -pv dev-python/ctypes
If this package is missing, you will get an error message when starting paste:
[paste.httpserver.ThreadPool] Cannot use kill_thread_limit as ctypes/killthread is not available
# wget http://peak.telecommunity.com/dist/ez_setup.py
Login as sudo. Then do the following:
# python ez_setup.py Pylons==0.9.6.1
Reference: http://wiki.pylonshq.com/display/pylonsdocs/Installing+Pylons
# emerge dev-python/pyxml
To use MySQL as the database in Pylons, you need the package
# emerge mysql-python