I am building a Python module, and I would like users to be able to create a module with some custom parameters. In particular, the package will do extra magic if you provide it with certain executable files that it can use.
Ideally, users will run setup.py install or setup.py install --magic-doer=/path/to/executable . If they used the second option, Id sets the variable somewhere in the code and from there.
Is this possible with Python setuptools ? If so, how to do it?
python setup.py
So8res
source share