Closed musicinmybrain closed 2 years ago
Thinking about this some more, perhaps it would be better instead to add a cmd
extra to this package, and tie the extra dependencies to that, since most users won’t need the colorcet
command.
Hmm. Yes, maybe we should make the colorcet
shell command optional in its entirety; it's certainly not something that most users would need.
The change to pyct[build]
in pyproject.toml
and in the definition of the build
extra is probably still technically correct. If you like, I can make a PR just for that. Right now, it doesn’t really matter, because the build
extra of pyct
just brings in setuptools
and param >=1.7.0
, which are both direct dependencies of colorcet
anyway.
Change the
install_requires
onpyct
topyct[cmd]
, and the build dependencies topyct[build,cmd]
, in order to ensure that the appropriate optional/extra dependencies ofpyct
are installed.This fixes the following problem:
(Well—it fixes the
ModuleNotFoundError
. The nonexistence of_missing_cmd
is a separate issue.)