This repository has been archived on 2019-12-04. You can view files and clone it, but cannot push or open issues or pull requests.
hrafn/README.markdown

38 lines
1.4 KiB
Markdown
Raw Normal View History

mytwitter is a simple python twitter application. I wrote it for two reasons:
1. No existing twitter app supports the Lists API
2. An excuse to learn Python
2010-04-21 17:58:15 +00:00
While I doubt it will be terribly useful for anyone other than me, feel free to take it for a spin and let me know how it goes.
### Installation
2010-04-21 17:58:15 +00:00
You'll need the following python modules:
* pyGTK
2010-04-08 14:56:21 +00:00
* dateutil
* twitter (the dev version, not 0.6), along with my patches (included here)
2010-04-08 14:56:21 +00:00
For the twitter module, you can download and install it with:
hg clone https://python-twitter.googlecode.com/hg/ python-twitter
cd python-twitter
hg update dev
for i in ../mytwitter/python-twitter-*.patch; do patch p1 < $i; done
python setup.py build
python setup.py install --user
This will install python-twitter in your ~/.local/lib directory, which python 2.6 will automatically include in PYTHONPATH.
2010-04-21 17:58:15 +00:00
### Configuration
2010-04-21 17:58:15 +00:00
2010-04-21 17:59:26 +00:00
Copy the supplied mytwitter.conf file to ~/.mytwitter.conf, and edit it to suit your preferences. At a minimum, you need to change the [account] section to contain a valid twitter username and password. You can have multiple [account] sections, but they must be uniquely named, and the section name must start with 'account'.
2010-04-21 17:58:15 +00:00
### Usage
2010-04-21 17:58:15 +00:00
Just run ./mytwitter.py, and start playing around. Right now, it is best to run this file in-place; it expects twitterwidgets.py and default.glade to be in the same directory.