Having a directory
root -setup.py src/ -app.py (with main function)
with setup.py
from setuptools import setup setup(