Skip to content

Commit

Permalink
try to use pyside6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhrisca committed Oct 19, 2023
1 parent 12fc691 commit 765da75
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pandas
typing_extensions
python-dateutil
isal; platform_machine == "x86_64" or platform_machine == "AMD64"
lxml<=4.9.2
lxml>=4.9.3
8 changes: 4 additions & 4 deletions requirements_exe_build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ numpy>=1.23.0
pandas
typing_extensions
isal; platform_machine == "x86_64" or platform_machine == "AMD64"
lxml<=4.9.2
lxml==4.9.3
natsort
psutil
PySide6==6.2.2
pyqtgraph==0.12.4
PySide6==6.6.0
pyqtgraph==0.13.3
QtPy==2.3.1
pyqtlet2
pyopengl
Expand All @@ -21,7 +21,7 @@ cChardet==2.1.5
chardet
cryptography
keyring
pyinstaller<6.0; sys_platform=="win32"
pyinstaller; sys_platform=="win32"
pyinstaller<6.0; sys_platform=="darwin"
pyinstaller==4.10; sys_platform=="linux"
scipy
Expand Down
1 change: 1 addition & 0 deletions src/asammdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import logging


logger = logging.getLogger("asammdf")
formatter = logging.Formatter("%(name)s - %(levelname)s - %(message)s")
console = logging.StreamHandler()
Expand Down
1 change: 1 addition & 0 deletions src/asammdf/gui/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions src/asammdf/gui/asammdfgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
os.environ["QT_API"] = "pyside6"
os.environ["PYQTGRAPH_QT_LIB"] = "PySide6"
os.environ["QT_ENABLE_HIGHDPI_SCALING"] = "0"
os.environ["PYSIDE6_OPTION_PYTHON_ENUM"] = "2"

alternative_sitepacakges = os.environ.get("ASAMMDF_PYTHONPATH", "")

Expand Down
2 changes: 2 additions & 0 deletions src/asammdf/gui/widgets/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from natsort import natsorted
import pyqtgraph as pg
from PySide6 import QtCore, QtGui, QtWidgets
from PySide6 import __version__ as pyside6_version

from ...version import __version__ as libversion
from ..dialogs.bus_database_manager import BusDatabaseManagerDialog
Expand Down Expand Up @@ -1489,6 +1490,7 @@ def show_about(self):
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Build information:</p>
<ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;">
<li style=" font-family:'MS Shell Dlg 2'; font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">version {libversion}</li>
<li style=" font-family:'MS Shell Dlg 2'; font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">PySide6 {pyside6_version}</li>
<li style=" font-family:'MS Shell Dlg 2'; font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">CPython {cpython}</li></ul>
<p style="-qt-paragraph-type:empty; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
<p>Copyright © 2018-2023 Daniel Hrisca</p></body></html>""",
Expand Down
2 changes: 1 addition & 1 deletion src/asammdf/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
""" asammdf version module """

__version__ = "7.3.15"
__version__ = "7.3.16.dev1"

0 comments on commit 765da75

Please sign in to comment.