diff --git a/MANIFEST.in b/MANIFEST.in index ee7e7d2..773e790 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -5,9 +5,5 @@ include MANIFEST.in include setup.py -include AUTHORS.rst -include CHANGES.rst -include CONTRIBUTING.rst -include LICENSE.rst -include README.rst +include *.rst include qdarkstyle/* diff --git a/docs/known_issues.rst b/docs/known_issues.rst index 78357c9..09dc128 100644 --- a/docs/known_issues.rst +++ b/docs/known_issues.rst @@ -1,7 +1,18 @@ Known Issues ============ -Combo Box ---------- +Dialog style +------------ -Describe the problem, add some images and code. +Dialogs, e.g. file dialogs, could appear not styled since it inherits from OS +theme/style as described in the issue +`#172 `__. +There are some options that can be exploited there. + + +System icons +------------ + +Similar to the Dialogs, default icons are inherited from OS but we +are planning to create our own set of icons to provide a more uniform UI. See +`#192 `__. diff --git a/setup.py b/setup.py index c7e2b6a..f91d053 100644 --- a/setup.py +++ b/setup.py @@ -5,8 +5,6 @@ A dark style sheet for QtWidgets application. """ # Standard library imports -import glob -import os from setuptools import find_packages, setup # Local imports @@ -21,19 +19,21 @@ extras_require = { 'example': ['pyqt5', 'pyside2'] } - -def remove_all(dir_path, patterns='*.pyc'): - """Remove all files from `dir_path` matching the `patterns`. - - Args: - dir_path (str): Directory path. - patterns (str): Pattern using regex. Defaults to '*.pyc'. - """ - - for pattern in patterns: - for filename in glob.iglob(dir_path + '/**/' + pattern, recursive=True): - os.remove(filename) - +classifiers = [ + 'Development Status :: 5 - Production/Stable', + 'Environment :: X11 Applications :: Qt', + 'Environment :: Win32 (MS Windows)', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Operating System :: Microsoft :: Windows', + 'Operating System :: POSIX :: Linux', + 'Operating System :: MacOS', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Topic :: Software Development :: Libraries :: Application Frameworks' +] setup( name='QDarkStyle', @@ -46,21 +46,8 @@ setup( description='The most complete dark/light style sheet for C++/Python and Qt applications', long_description=long_desc, long_description_content_type='text/x-rst', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: X11 Applications :: Qt', - 'Environment :: Win32 (MS Windows)', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', - 'Operating System :: Microsoft :: Windows', - 'Operating System :: POSIX :: Linux', - 'Operating System :: MacOS', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Software Development :: Libraries :: Application Frameworks' - ], + include_package_data=True, # add data file from MANIFEST.in #193 + classifiers=classifiers, zip_safe=False, # don't use eggs entry_points={"console_scripts": ["qdarkstyle=qdarkstyle.__main__:main", "qdarkstyle.example=qdarkstyle.example.__main__:main",