~robru/gwibber/twitter-from-me-fix

« back to all changes in this revision

Viewing changes to gwibber/Makefile

  • Committer: Barry Warsaw
  • Date: 2012-09-12 22:15:43 UTC
  • mfrom: (1422.1.16 dispatcher)
  • Revision ID: barry@python.org-20120912221543-0bxi0xd5odp6sd6d
Merge lp:~robru/gwibber/dispatcher with his excellent rewrite of the
dispatcher code.  A few additional changes by barry:

 * check_all target of the Makefile should --clear any previous virtualenv
 * Fill out the twitter.py stub to also include logging and i18n so that the
   mock from test_twitter.py is more relevant.
 * PEP 8-ification of some names.
 * Moved on_connection_{online,offline} to non-public methods of Dispatcher
   for more idiomatic access to `self`.  Store the ctor argument `interval` in
   an instance variable.
 * Removed an unnecessary check from test_protocols.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
        python3 setup.py install
20
20
 
21
21
check_all:
22
 
        virtualenv --system-site-packages -p python3 /tmp/gwib
 
22
        virtualenv --clear --system-site-packages -p python3 /tmp/gwib
23
23
        /tmp/gwib/bin/python3 setup.py install
24
24
        /tmp/gwib/bin/python3 -m unittest discover -vv