These lines in setup.cfg setup leads to the creation of a script mydemo that will execute the run function of the module __main__:
[options.entry_points]
console_scripts =
mydemo = mypackage.__main__:run
I would like mydemo to execute run with disabled asserts. Is there a way of doing this ?