Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
updating nexus-constructor.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
kmurica committed Oct 4, 2022
1 parent 57bf732 commit 706f217
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nexus-constructor.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- mode: python ; coding: utf-8 -*-
import PySide2
import PySide6
import os

block_cipher = None
Expand All @@ -10,10 +10,10 @@ added_files = [
("definitions/base_classes/*.nxdl.xml", "definitions/base_classes"),
]

if os.path.isdir(os.path.join(PySide2.__path__[0], "Qt", "plugins", "renderers")):
if os.path.isdir(os.path.join(PySide6.__path__[0], "Qt", "plugins", "renderers")):
added_files.append((
os.path.join(PySide2.__path__[0], "Qt", "plugins", "renderers"),
"PySide2/Qt/plugins/renderers",
os.path.join(PySide6.__path__[0], "Qt", "plugins", "renderers"),
"PySide6/Qt/plugins/renderers",
))

# Be careful about removing things from this list.
Expand Down Expand Up @@ -58,7 +58,7 @@ a = Analysis(
pathex=["/home/matt/git/nexus-constructor"],
binaries=[],
datas=added_files,
hiddenimports=["PySide2.QtXml"],
hiddenimports=["PySide6.QtXml"],
hookspath=[],
runtime_hooks=[],
excludes=exclude,
Expand Down

0 comments on commit 706f217

Please sign in to comment.