django-sql-utils icon indicating copy to clipboard operation
django-sql-utils copied to clipboard

pyproject.toml missing package directory hint

Open tuffnatty opened this issue 9 months ago • 0 comments

Installing 0.7.0 via pip fails with the message:

ValueError: Unable to determine which files to ship inside the wheel using the following heuristics: https://hatch.pypa.io/latest/plugins/builder/wheel/#default-file-selection
      
      The most likely cause of this is that there is no directory that matches the name of your project (django_sql_utils).
      
      At least one file selection option must be defined in the `tool.hatch.build.targets.wheel` table, see: https://hatch.pypa.io/latest/config/build/
      
      As an example, if you intend to ship a directory named `foo` that resides within a `src` directory located at the root of your project, you can define the following:
      
      [tool.hatch.build.targets.wheel]
      packages = ["src/foo"]

tuffnatty avatar Apr 20 '25 17:04 tuffnatty