Make qtpy an optional dependency.

This commit is contained in:
Carifio24 2024-05-13 16:48:03 -04:00
Родитель 0f6d3f0a38
Коммит f8c06fd45d
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -117,7 +117,6 @@ setup_args = dict(
"numpy>=1.9", "numpy>=1.9",
"python-dateutil", "python-dateutil",
"pytz", "pytz",
"qtpy",
"reproject>=0.8", "reproject>=0.8",
"requests", "requests",
"toasty>=0.18", "toasty>=0.18",
@ -142,10 +141,12 @@ setup_args = dict(
"qt": [ "qt": [
'PyQt5;python_version>="3"', 'PyQt5;python_version>="3"',
'PyQtWebEngine;python_version>="3"', 'PyQtWebEngine;python_version>="3"',
"qtpy",
], ],
"qt6": [ "qt6": [
'PyQt6;python_version>="3"', 'PyQt6;python_version>="3"',
'PyQt6-WebEngine;python_version>="3"', 'PyQt6-WebEngine;python_version>="3"',
"qtpy",
], ],
"notebook": [ "notebook": [
"wwt_kernel_data_relay", "wwt_kernel_data_relay",