Installing Pwytter on Fedora 11

This morning, it was impossible to post tweets on Twitter so I finally gave in to install a Twitter client. Amongst many software available, Pwytter seemed interesting to try: free software, written in Python were my two criteria.

Unfortunately, the installation process is not straightforward (although its use of the general python setup procedure). Here is how to install it on Fedora 11 from the command line:

  1. Download Pwytter, unzip it, enter directory pwytter-0.8
  2. Install ImageTK: as root, type “yum install python-imaging-tk” (in Fedora, ImageTK was renamed python-imaging-tk)
  3. Install simplejson: as root, type “yum install python-simplejson
  4. (optional) launch: python setup.py build
  5. launch: python setup.py install
  6. Complete the installation by copying some files with the 4 lines below (type them as root too) (a comment in pwytter blog helps to solve the pwCache installation bug):
cp pwCache.py /usr/lib/python2.6/site-packages/pwytter-0.8-py2.6.egg
cp pwCache.pyc /usr/lib/python2.6/site-packages/pwytter-0.8-py2.6.egg
cp -r media/ /usr/lib/python2.6/site-packages/pwytter-0.8-py2.6.egg
cp -r theme/ /usr/lib/python2.6/site-packages/pwytter-0.8-py2.6.egg

Now you can launch pwytter from any user! In addition, since the source code is available and Identi.ca supports a Twitter-compatible API, let’s see if it’s easy to modify pwytter for Identi.ca 🙂

pwytter screenshot