tkurbad-overlay/dev-python/pytouch-cube/files/pytouch-cube-9999-linux.diff

23 lines
646 B
Diff
Raw Normal View History

2023-11-13 14:00:50 +01:00
diff -urN pytouch-cube-9999.orig/setup.py pytouch-cube-9999/setup.py
--- pytouch-cube-9999.orig/setup.py 2023-11-03 11:19:27.180117075 +0100
+++ pytouch-cube-9999/setup.py 2023-11-03 11:21:07.917408856 +0100
@@ -8,9 +8,6 @@
from setuptools import setup
from util import *
import app
-import site
-
-qt_plugin_root = site.getsitepackages()[1] + "\\PyQt6\\Qt\\plugins"
APP = 'pytouch3.py'
data_files = [
@@ -24,6 +21,8 @@
if is_mac:
setup_requires = ['py2app']
elif is_win:
+ import site
+ qt_plugin_root = site.getsitepackages()[1] + "\\PyQt6\\Qt\\plugins"
kwargs = {
"windows": [{
"script": APP[0],