poetry install --develop does not install scripts in venv/bin

Created on 5 Jul 2018  Â·  3Comments  Â·  Source: python-poetry/poetry

  • [x] I am on the latest Poetry version.
  • [x] I have searched the issues of this repo and believe that this is not a duplicate.

Issue

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.

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.

All 3 comments

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
Was this page helpful?
0 / 5 - 0 ratings

Related issues

mozartilize picture mozartilize  Â·  3Comments

jhrmnn picture jhrmnn  Â·  3Comments

thmo picture thmo  Â·  3Comments

gazpachoking picture gazpachoking  Â·  3Comments

tonysyu picture tonysyu  Â·  3Comments