RandomFileTree
RandomFileTree copied to clipboard
Use src layout and declarative setup config
I would recommend to restructure the folders and files in the repo to the officially recommended "src" layout. This will easy your install and test infrastructure and you don't have to ship your package with test files.
Official docu: https://packaging.python.org/en/latest/tutorials/packaging-projects/
Additional infos:
- https://stackoverflow.com/a/73106998/4865723
- https://blog.ionelmc.ro/2014/05/25/python-packaging/
Yup, thanks. And should also switch to declarative setup.cfg
Here (in the develop branch!) you can see a real-life example.
https://codeberg.org/buhtz/hyperorg/src/branch/develop
Thanks (I've also adopted that for newer projects :) )