create executable python fro setup.py code example Example: python make file executable if __name__ == "__main__": your_function()