Skip to content

Commit

Permalink
Including qt.conf data file
Browse files Browse the repository at this point in the history
  • Loading branch information
mottosso committed Sep 29, 2014
1 parent cd9ff6e commit 6d032bc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PyQt5/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions qt.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[Paths]
Prefix = C:/Python27/Lib/site-packages/PyQt5
Binaries = C:/Python27/Lib/site-packages/PyQt5
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down Expand Up @@ -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()
)

0 comments on commit 6d032bc

Please sign in to comment.