Description
Currently channels has daphne as dependency. So it is not possible to install channels on one machine without installing daphne with its dependencies.
The only place in code of channels, which needs daphne, is the runserver
command, which kind of a development command that should not be used in production. So there is no need to require daphne as a requirment for a production setup.
Could it be possible to create a package, that you can install without installing daphne as well?
Our background is as follows: We have a django-channels app, that has be used also on windows from low-tech-users. But it is quite hard to install a current version of twisted on windows. So we build geiss as an replacement for daphne, which does not need twisted. But with the current package of channels, it is not possible to get rid of twisted, even when we don't want to use daphne.
But I think, that there are other use cases where someone wants to install channels without daphne. For example if you want to separate the worker on different containers/hardware then the protocol server.