pallets-eco / flask-debugtoolbar

A toolbar overlay for debugging Flask applications
https://flask-debugtoolbar.readthedocs.io
BSD 3-Clause "New" or "Revised" License
953 stars 146 forks source link

Move library into src/ directory #172

Closed nickjj closed 2 years ago

nickjj commented 2 years ago

After building this locally I noticed all of the expected files were in the wheel where as before this patch it was missing a lot of files.

This idea of using a src/ directory is mentioned in the official Python documentation for packaging files at:

https://packaging.python.org/en/latest/tutorials/packaging-projects/

It's also used in Flask and other large Python projects.

I don't have access to push this to the test PyPi repo to give it a whirl so I'm not 100% sure if it "really" works.

If this does end up working, I think the order of operations would be: