Unable to include data files in python package with setuptools.
Unable to include data files in python package with setuptools.
Unable to include data files in python package with setuptools.
Suggestions for a good TUI library?
Is desktop development still a thing?
ModuleNotFoundError when installing a package with entry points using pipx
Yeah sorry I expressed myself wrongly, I mean that it looked like pipx didn't install the package in the dedicated venv, and that was actually the case because I didn't specify which packages to install in the pyproject.toml file apparently. I substituted these lines:
[tool.setuptools.packages.find] where = ["energymonitor"] [tool.setuptools.package-data] data = ["data/*"]with these lines:
[tool.setuptools] packages = ["energymonitor"] include-package-data = trueand it worked!