11 ms·
The difference is if you're running tests from your root project directory, the package is importable regardless of whether or not it is installed, as python pi
by iggy_knights 4y ago
The difference is if you're running tests from your root project directory, the package is importable regardless of whether or not it is installed, as python picks up packages in the current working directory by name. src/ prevents this.
- bvrmn 4y agoBut it doesn't prevent package configuration errors and allows to bdist broken package. What's the point then?