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
I have a working package build (ref: ciscoconfparse2 version 0.7.10, at git hash 4103f96). That ciscoconfparse2 version includes a hatch project.scripts script called ccp. When I pip install version 0.7.10, things work as expected.
I added some new features to the CLI script in version 0.7.11 (yet to be released on github). I ran make install_build (local to my Makefile) to install / test the package locally on my system before pushing the package to pypi, but for some reason version 0.7.11 is not installing the ccp script.
I manually went into the CLI script entry point and commented out virtually everything, and that script indeed installs.
However, this also works just fine with the copy of the script that I was going to push to pypi...
Is there a way to debug why the CLI script is not being installed? FWIW, my ciscoconfparse2 pytest tests pass, but obviously there is something not working. hatch --verbose build doesn't tell me anything wrong...
$ hatch --verbose build
──────────────────────────────────────────────────────── sdist ─────────────────────────────────────────────────────────
Building `sdist` version `standard`
dist/ciscoconfparse2-0.7.11.tar.gz
──────────────────────────────────────────────────────── wheel ─────────────────────────────────────────────────────────
Building `wheel` version `standard`
dist/ciscoconfparse2-0.7.11-py3-none-any.whl
$
The text was updated successfully, but these errors were encountered:
I have a strange problem.
I have a working package build (ref: ciscoconfparse2 version 0.7.10, at git hash
4103f96
). That ciscoconfparse2 version includes a hatchproject.scripts
script calledccp
. When I pip install version 0.7.10, things work as expected.I added some new features to the CLI script in version 0.7.11 (yet to be released on github). I ran
make install_build
(local to my Makefile) to install / test the package locally on my system before pushing the package to pypi, but for some reason version 0.7.11 is not installing theccp
script.I manually went into the CLI script entry point and commented out virtually everything, and that script indeed installs.
However, this also works just fine with the copy of the script that I was going to push to pypi...
I'm scratching my head to find what is broken...
Is there a way to debug why the CLI script is not being installed? FWIW, my ciscoconfparse2 pytest tests pass, but obviously there is something not working.
hatch --verbose build
doesn't tell me anything wrong...The text was updated successfully, but these errors were encountered: