diff --git a/PyQt5/__init__.py b/PyQt5/__init__.py index d9b20d47..b7b320b2 100644 --- a/PyQt5/__init__.py +++ b/PyQt5/__init__.py @@ -31,7 +31,7 @@ os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = plugin_path # Expose versions -version_info = (0, 1, 2) # Version of this release +version_info = (0, 1, 3) # Version of this release version = "%s.%s.%s" % version_info __version__ = version diff --git a/qt.conf b/qt.conf new file mode 100644 index 00000000..eac61128 --- /dev/null +++ b/qt.conf @@ -0,0 +1,3 @@ +[Paths] +Prefix = C:/Python27/Lib/site-packages/PyQt5 +Binaries = C:/Python27/Lib/site-packages/PyQt5 diff --git a/setup.py b/setup.py index 182846e6..d485a43f 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,7 @@ def get_version(): def get_package_data(): + """Include all files from all sub-directories""" package_data = dict() package_data['PyQt5'] = list() @@ -28,6 +29,10 @@ def get_package_data(): return package_data +def get_data_files(): + return [('', ['qt.conf'])] + + def get_readme(): with open('README.txt') as f: readme = f.read() @@ -58,5 +63,6 @@ def get_readme(): packages=find_packages(), zip_safe=False, classifiers=classifiers, - package_data=get_package_data() + package_data=get_package_data(), + data_files=get_data_files() )