Describe the bug
Python 3.11 is set to release in 2-3 weeks, but wheels (or sdists) are unavailable for windows-curses. Since it is only used for the CanViewer functionality we can make windows-curses an optional dependency.
(Relevant upstream issue: zephyrproject-rtos/windows-curses#31)
To Reproduce
Install windows with python 3.11-rc
pip install .
...
ERROR: Could not find a version that satisfies the requirement windows-curses; platform_system == "Windows" and platform_python_implementation == "CPython" (from python-can) (from versions: none)
ERROR: No matching distribution found for windows-curses; platform_system == "Windows" and platform_python_implementation == "CPython"
Additional context
OS and version: Windows 11
Python version: 3.11-rc1
python-can version: 4+ (devel branch)
python-can interface/s (if applicable):