Hi! I have a Python project where the packages are located in the src folder. When I want to import something with Python Import Helper, it always imports from src.package.etc, but only package.etc should be in the import path for the import to work.
My pyproject.toml file contains:
[tool.setuptools]
package-dir = { “” = “src” }
[tool.setuptools.packages.find]
where = [“src”]
so that the src folder is used for the packages.
Have I set something up incorrectly, or is this a Bug?
Hi! I have a Python project where the packages are located in the src folder. When I want to import something with Python Import Helper, it always imports from
src.package.etc, but onlypackage.etcshould be in the import path for the import to work.My pyproject.toml file contains:
so that the src folder is used for the packages.
Have I set something up incorrectly, or is this a Bug?