You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the command line: "hatch build", it adds additional files to the package's ./dist/<pkgname>.tar.gz. I don't think the sdist needs these files and would like to exclude them. When I perform the same function using "py -m build", the undesired files aren't included. Why are these files included by hatch and what can I do to exclude them?
The unexpected/undesired files are installed as shown below:
The Lib & Scripts directories added by hatch contain the build env packages:
hatchling, packaging, pathspec, pip, pluggy, setuptools, ... I'm guessing I don't have something configured correctly but can't figure out what.
The entire subdirectory <pkg-name> created by hatch is then included in the sdist file <pkg-name>.tar.gz
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I use the command line: "hatch build", it adds additional files to the package's
./dist/<pkgname>.tar.gz
. I don't think the sdist needs these files and would like to exclude them. When I perform the same function using "py -m build", the undesired files aren't included. Why are these files included by hatch and what can I do to exclude them?The unexpected/undesired files are installed as shown below:
The Lib & Scripts directories added by hatch contain the build env packages:
hatchling, packaging, pathspec, pip, pluggy, setuptools, ... I'm guessing I don't have something configured correctly but can't figure out what.
The entire subdirectory
<pkg-name>
created by hatch is then included in the sdist file<pkg-name>.tar.gz
Beta Was this translation helpful? Give feedback.
All reactions