pypubsub available in SVN for testing

I’ve removed some of the deprecated code that was in (py)pubsub and made a few minor enhancements. All unit tests pass, some users on pubsub forums have already tested with their apps and no issues.

If you know how to use SVN, you can test your wxPython app with latest pubsub:

  1. do a checkout of latest code from SF.net project page: svn checkout svn://svn.code.sf.net/p/pubsub/code/trunk pubsub-code
  2. rename your old pubsub folder (such as wx/lib/pubsub or /lib/site-packages/pubsub) so you can later return to that version
  3. copy svn’d pubsub (pubsub-code) to same location and rename to pubsub
  4. If you had the line “from pubsub import setupv1” anywhere in your application, you must change it to “from pubsub import setuparg1” instead
  5. run your app

if you did the change from v1 -> arg1 (step 4) and you get errors in step 5, take a look at page http://pubsub.sourceforge.net/recipes/upgrade_v1tov3.html which describes a few other minor changes you may have to make but it shoud take you a couple minutes no more since you can use search/replace.

Please post success/issues to the pypubsub help forum (https://groups.google.com/forum/#!forum/pypubsub).

Thanks in advance!

Oliver

Sorry just noticed that the SVN URL should be, for the instructions as given,

svn checkout svn://svn.code.sf.net/p/pubsub/code/trunk/src/pubsub pubsub-code

Note if you use TortoiseSVn or such, the URL is

https://svn.code.sf.net/p/pubsub/code/trunk/src/pubsub

Oliver

···

On Sat, Aug 31, 2013 at 9:47 AM, oliver oliver.schoenborn@gmail.com wrote:

I’ve removed some of the deprecated code that was in (py)pubsub and made a few minor enhancements. All unit tests pass, some users on pubsub forums have already tested with their apps and no issues.

If you know how to use SVN, you can test your wxPython app with latest pubsub:

  1. do a checkout of latest code from SF.net project page: svn checkout svn://svn.code.sf.net/p/pubsub/code/trunk pubsub-code
  2. rename your old pubsub folder (such as wx/lib/pubsub or /lib/site-packages/pubsub) so you can later return to that version
  3. copy svn’d pubsub (pubsub-code) to same location and rename to pubsub
  4. If you had the line “from pubsub import setupv1” anywhere in your application, you must change it to “from pubsub import setuparg1” instead
  5. run your app

if you did the change from v1 → arg1 (step 4) and you get errors in step 5, take a look at page http://pubsub.sourceforge.net/recipes/upgrade_v1tov3.html which describes a few other minor changes you may have to make but it shoud take you a couple minutes no more since you can use search/replace.

Please post success/issues to the pypubsub help forum (https://groups.google.com/forum/#!forum/pypubsub).

Thanks in advance!

Oliver