Pip installed CLI tool not in PATH
matthias-Q opened this issue · 3 comments
Hi,
I want to use nix flakes for a develop environment. The cli tool (dagster) can be installed via pip. I am able to set everything up - and the python library part can be imported correctly. However, the dagster cli command cannot be found. Tab completion however suggest dagster.
I haave pushed by flakes + lockfiles in a repo: https://github.com/matthias-Q/nixgster
Thanks,
Matt
@matthias-Q I worked around a similar issue for other tools. I just manually added the app to the scripts section in pyproject.toml
Not sure I understand. Can you give me an example? I always thought that in the scripts section, there has to be a <module>.<file>:function
defined as a script. Dagster installs multiple cli tools.
Yeah, that's what I've defined. Haven't done it for Dagster though...