[console_scripts]
mycommand = setup_example.myfile:myfunction

