0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00
Files
bec_widgets/setup.py
semantic-release dae8a3409a 0.50.2
Automatically generated by python-semantic-release
2024-04-30 16:08:47 +00:00

57 lines
1.3 KiB
Python

# pylint: disable= missing-module-docstring
from setuptools import find_packages, setup
__version__ = "0.50.2"
# Default to PyQt6 if no other Qt binding is installed
QT_DEPENDENCY = "PyQt6<=6.6.3"
# pylint: disable=unused-import
try:
import PyQt5
except ImportError:
pass
else:
QT_DEPENDENCY = "PyQt5>=5.9"
if __name__ == "__main__":
setup(
install_requires=[
"pydantic",
"qtconsole",
"PyQt6-Qt6<=6.6.3",
QT_DEPENDENCY,
"jedi",
"qtpy",
"pyqtgraph",
"bec_lib",
"zmq",
"h5py",
"pyqtdarktheme",
"black",
],
extras_require={
"dev": [
"pytest",
"pytest-random-order",
"pytest-timeout",
"coverage",
"pytest-qt",
"black",
"isort",
],
"pyqt5": ["PyQt5>=5.9"],
"pyqt6": ["PyQt6<=6.6.3"],
},
version=__version__,
packages=find_packages(),
include_package_data=True,
package_data={
"": [
"*.ui",
"*.yaml",
"*.png",
]
},
)