I have a script in pyproject.toml
[tool.poetry.scripts]
start = "python attribrute/start.py"
but when I run poetry run start
```[ValueError]
not enough values to unpack (expected 2, got 1)
run
OS: ubuntu 18.10
Scripts work the same say as setuptools entry points, so I believe this should be:
[tool.poetry.scripts]
start = "attribrute.start:__main__"
@edwardgeorge Have you found a solution to this issue?
I'm facing it
@johannb75 this is working as expected at the moment. There is a feature request at #2310 regarding the expansion of this to support files.
For task runners, the community has built additional tools like https://github.com/nat-n/poethepoet to support that use case.
Most helpful comment
@johannb75 this is working as expected at the moment. There is a feature request at #2310 regarding the expansion of this to support files.
For task runners, the community has built additional tools like https://github.com/nat-n/poethepoet to support that use case.