I have the following directory structure, as recommended in the pytest docs :
setup.py src/ mypkg/ __init__.py app.py