When a package specifies a script and the package is installed in develop mode, the script should be placed in the virtualenv's bin directory, as pip install -e .
would do. poetry install --develop <package>
does not install scripts.
Does poetry develop
do what you want? I had a similar issue in #311 and it turned out I just needed to use that command instead of poetry install --develop
.
I'm not sure why this was closed? I'm running into the same issue and don't see an answer to how to get poetry to install scripts.
If you have a package with the same name as your poetry project then poetry will install the scripts with poetry install
[tool.poetry]
name = "my-package"
version = "0.1.0"
description = "My package"
├── my_package
│  ├── __init__.py
Most helpful comment
I'm not sure why this was closed? I'm running into the same issue and don't see an answer to how to get poetry to install scripts.