-
Notifications
You must be signed in to change notification settings - Fork 4
Can't install via pip #3
Comments
Thanks for reporting! I'll look into this. :) |
I think I figured it out. Pip won't work with binary distributions. I simply bumped up the version and made sure only source distribution is available. @tiktuk: Could you please give it a go now? :) |
I think it works now. In fact it fails but it is because - as I found out in the meantime - my version of Growl does not support GNTP :-( . So it failed connecting to Growl. Unfortunately I am on Snow Leopard and can't upgrade so I can't use your program right now. Thanks for looking into the issue so quickly though. |
Alright. If you can find a library that works with your version of Growl, let me know and I'll plug it in. |
@tiktuk Does growlnotify work for you? If so, I think we could use that. |
Yes, I think it is the same as this: https://github.com/ptone/pygrowl, and I used that once. I just tested and it works perfectly. Here is some sample code: from Growl import GrowlNotifier, Image
message = 'Hi'
icon_image_path = '' # Path to image file
icon = Image.imageFromPath(icon_image_path)
g = GrowlNotifier(applicationName='APP_NAME', notifications=['NOTIFICATION_NAME'], applicationIcon=icon)
g.register()
g.notify('NOTIFICATION_NAME', 'Notification', message, sticky=True) Would be great if you also support this :-) . |
@tiktuk I made version 0.5.4 support growlnotify. Instead of using the lib I ended up just calling it via terminal. Easier this way. Hopefully it works for you now! :) |
Thanks, it works! Could be great if a warning message is printed if growlnotify is not found, though. It's great that you can support all versions of OS X using growlnotify. The good thing about using the python libraries is that they work with just Growl installed, though. I had to download the Growl disk image again to get the growlnotify installer. The libraries are easier to get, they are just a |
@tiktuk Good point! I'll add an issue for that so I won't forget. Might resolve that one later. The reason why I didn't drop pygrowl there had to do with the fact that it comes with a C extension (not quite sure how to deal with that). The version at PyPI is somewhat old too. Better yet OS X 10.8 came with a new notification system altogether. What a mess. :) I guess the ideal solution for this would be to fork pygrowl and host it at PyPI. It's a shame gntp doesn't work with the old version. Let me know if you get any further ideas. Just opening an issue will do. :) |
Yeah, it's a bit of a mess.. I created issue #8 to discuss this more. |
Doing
pip install website-poller
I get this error message:IOError: [Errno 2] No such file or directory: '/Users/myusername/python/lib/build/website-poller/setup.py'
The text was updated successfully, but these errors were encountered: