mopidy/pyspotify — pull request #58 by bok (2012-02-25 16:48:46+00:00)
Title: Add a --with-mock switch to the setup.py script.

The switch enables the optional compilation of the mock C extension, which
depends on libmockspotify.

This is kind of a dirty hack (messing with sys.argv, no CLI docs); another solution would be to use the *distribute* module (and its ``Feature`` class), but it adds a dependency for the build. Tell me what you think.