Another name change
This commit is contained in:
parent
c59adefcd3
commit
c147f7fb73
|
@ -1,4 +1,4 @@
|
|||
Huginn is a python twitter application. It started because no existing client supported the Lists API, but has grown to be a general-purpose Twitter client.
|
||||
Hrafn is a python twitter application. It started because no existing client supported the Lists API, but has grown to be a general-purpose Twitter client.
|
||||
|
||||
|
||||
### Installation
|
||||
|
@ -14,7 +14,7 @@ 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 ../huginn/python-twitter-*.patch; do patch p1 < $i; done
|
||||
for i in ../hrafn/python-twitter-*.patch; do patch p1 < $i; done
|
||||
python setup.py build
|
||||
python setup.py install --user
|
||||
|
||||
|
@ -23,8 +23,8 @@ This will install python-twitter in your ~/.local/lib directory, which python 2.
|
|||
|
||||
### Configuration
|
||||
|
||||
Copy the supplied huginn.conf file to ~/.huginn.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'.
|
||||
Copy the supplied hrafn.conf file to ~/.hrafn.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'.
|
||||
|
||||
|
||||
### Usage
|
||||
Just run ./huginn.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.
|
||||
Just run ./hrafn.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.
|
||||
|
|
2
TODO
2
TODO
|
@ -22,4 +22,4 @@ bugs:
|
|||
considerable tweaks to python-twitter)
|
||||
* "ValueError: list.remove(x): x not in list" when trying to close a tab (error recurred after adding conversation support). Tabs can be reordered, then closed, as a workaround.
|
||||
* Links must be right-clicked on to activate - can't left-click on the link directly. This seems to be a pygtk issue
|
||||
* Bugs: File "/home/user/code/huginn/apithreads.py", line 234: UnboundLocalError: local variable 'user' referenced before assignment
|
||||
* Bugs: File "/home/user/code/hrafn/apithreads.py", line 234: UnboundLocalError: local variable 'user' referenced before assignment
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
debug=0
|
||||
entries=20
|
||||
refreshtime=5
|
||||
dbfile=~/.huginn.db
|
||||
dbfile=~/.hrafn.db
|
||||
|
||||
[account]
|
||||
username=username
|
|
@ -10,7 +10,7 @@ from threading import enumerate
|
|||
import apithreads
|
||||
|
||||
|
||||
class Huginn():
|
||||
class Hrafn():
|
||||
|
||||
""" Display Tweets, post to twitter """
|
||||
|
||||
|
@ -34,7 +34,7 @@ class Huginn():
|
|||
config.set('global', 'refreshtime', '5')
|
||||
new_data = True
|
||||
if not config.has_option('global', 'dbfile'):
|
||||
config.set('global', 'dbfile', '~/.huginn.db')
|
||||
config.set('global', 'dbfile', '~/.hrafn.db')
|
||||
new_data = True
|
||||
|
||||
# Write out new config data, if needed
|
||||
|
@ -548,18 +548,18 @@ class Huginn():
|
|||
|
||||
|
||||
|
||||
### end class Huginn
|
||||
### end class Hrafn
|
||||
|
||||
|
||||
# main
|
||||
debug = False
|
||||
|
||||
parser = optparse.OptionParser()
|
||||
parser.add_option('-c' ,'--config', dest="filename", default="~/.huginn.conf", help="read configuration from FILENAME instead of the default ~/.huginn.conf")
|
||||
parser.add_option('-c' ,'--config', dest="filename", default="~/.hrafn.conf", help="read configuration from FILENAME instead of the default ~/.hrafn.conf")
|
||||
parser.add_option('-n' ,'--no-resize', dest="resize", action='store_false', default=True, help="use the default window size instead of the size from the last session")
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
my_twitter = Huginn(options.filename, options.resize)
|
||||
my_twitter = Hrafn(options.filename, options.resize)
|
||||
|
||||
gtk.gdk.threads_init()
|
||||
gtk.gdk.threads_enter()
|
Reference in New Issue
Block a user