ilektrojohn/creepy — pull request #18 by rdennis463 (2011-10-23 07:30:58+00:00)
Title: pull request address issue #13 setuptools packaging

Hello, I'm interested in using a subset of creepy functionality in a project of mine, and it would be convenient from me to have an explicit dependency of creepy[twitter] (for example).

I saw issue #13 and am submitting a pull request where I:
- added setup.py packaging with 4 features (flickr/twitter/exif/map) to support people depending on a subset of creepy functionality
- modified urlanalyzer to not throw import error in the event of the exif feature not being present, as the module is used by this twitter/flickr modules
- bumped version to 0.2.0 as adding packaging with setuptools extra features is at least a minor level change

testing steps I performed:
fresh ubuntu VM
# install items not on pypi or just not installable with distutils
apt-get install python-pyexiv2 libosmgpsmap-dev python-osmgpsmap python-gtk python-gobject
python (>2.6) setup.py develop # installs all the base requirements
easy_install creepy[all] # installs all the optional dependencies and verifies that the above items (non-pypi modules) are installed

if the apt-get step was skipped and the feature was specified (e.g. creepy[map] or creepy[all]), a warning would be displayed with a link to the projects download page

Thanks, appreciate the work and hopefully this is something that you find useful