File tree Expand file tree Collapse file tree 5 files changed +20
-17
lines changed Expand file tree Collapse file tree 5 files changed +20
-17
lines changed Original file line number Diff line number Diff line change
1
+ python-qt5 Changelog
2
+ ====================
3
+
4
+ Version 1.0.9
5
+ -------------
6
+
7
+ - Removed qt.conf dependency
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 18
18
import os
19
19
import sys
20
20
21
- # Expose sip to PYTHONPATH
21
+ # Setup environment variables
22
22
dirname = os .path .dirname (__file__ )
23
23
sys .path .insert (0 , dirname )
24
24
25
- # Expose binaries to PATH
26
- sep = ';' if os .name == 'nt' else ':'
27
- os .environ ['PATH' ] += sep + dirname
25
+ os .environ ['PATH' ] += os .pathsep + dirname
28
26
29
- # Expose platform plugins
30
- plugin_path = os .path .join (dirname , 'plugins' , 'platforms' )
31
- os .environ ['QT_QPA_PLATFORM_PLUGIN_PATH' ] = plugin_path
27
+ # Addresses error: "QtQuick" is not installed
28
+ os .environ ['QML2_IMPORT_PATH' ] = os .path .join (dirname , 'qml' )
29
+
30
+ # Addresses error: Problem creating accessible interface
31
+ os .environ ['QT_PLUGIN_PATH' ] = os .path .join (dirname , 'plugins' )
32
+
33
+ # Addresses error: ..could not find or load the Qt platform plugin "windows"
34
+ os .environ ['QT_QPA_PLATFORM_PLUGIN_PATH' ] = os .path .join (dirname ,
35
+ 'plugins' ,
36
+ 'platforms' )
32
37
33
38
# Expose versions
34
39
version_info = (0 , 1 , 8 ) # Version of this release
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -32,10 +32,6 @@ def get_package_data():
32
32
return package_data
33
33
34
34
35
- def get_data_files ():
36
- return [('' , ['qt.conf' ])]
37
-
38
-
39
35
def get_readme ():
40
36
with open ('README.txt' ) as f :
41
37
readme = f .read ()
@@ -66,6 +62,5 @@ def get_readme():
66
62
packages = find_packages (),
67
63
zip_safe = False ,
68
64
classifiers = classifiers ,
69
- package_data = get_package_data (),
70
- data_files = get_data_files ()
65
+ package_data = get_package_data ()
71
66
)
You can’t perform that action at this time.
0 commit comments