pyflow icon indicating copy to clipboard operation
pyflow copied to clipboard

pyflow install watchdog[watchmedo] doesn't work

Open ksamuel opened this issue 5 years ago • 3 comments

This syntax installs watchdog with the optional dependancy watchmedo is you use pip.

But with pyflow, I get: Unable to parse this package: watchdog[watchmedo]. Note that installing a specific version via the CLI is currently unsupported. If you need to specify a version,edit pyproject.toml`

ksamuel avatar Jun 14 '20 11:06 ksamuel

What if you use this as the dependencies entry?

watchdog = {version = "^0.10.2", extras=["watchmedo"]}

David-OConnor avatar Jun 15 '20 19:06 David-OConnor

It triggers another error:

Added a console script: watchmedo
  File "__pypackages__\3.7\bin\watchmedo", line 4
    from watchdog.watchmedo import main[watchmedo]
                                       ^
SyntaxError: invalid syntax

Besides, it means you need to know about it, google it (can't remember this syntax) then to the edition manually then run the install. Installing it like pip would be the natural and convenient thing to do.

But above all, it will save you time, because other people will open tickets for the same problems in the future, wether you document the behavior or not.

ksamuel avatar Jun 16 '20 13:06 ksamuel

Agree on adding that syntax for the reason you listed.

David-OConnor avatar Jun 18 '20 21:06 David-OConnor