I'm packaging up a python module, and I would like users to be able to build the module with some custom options. Specifically, the package will do some extra magic if you provide it with certain executables that it can use.
So ideally, users would be able to run "setup.py install" or "setup.py install --magic-doer=/path/to/executable", and if they used the second option, I would set a variable somewhere accessible in the python code and go from there.
Is this possible with python's setuptools, and if so, how do I do it?
Thanks!