2023-09-17 08:34:42 -04:00
|
|
|
#!/usr/bin/env python3
|
2013-03-10 17:59:50 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
2019-05-04 07:28:37 -05:00
|
|
|
"""
|
|
|
|
|
A dark style sheet for QtWidgets application.
|
|
|
|
|
"""
|
2018-02-07 16:50:08 -02:00
|
|
|
|
2019-05-04 07:28:37 -05:00
|
|
|
# Standard library imports
|
2020-03-04 11:40:25 -03:00
|
|
|
from setuptools import find_packages, setup
|
2019-05-04 07:28:37 -05:00
|
|
|
|
|
|
|
|
# Local imports
|
2018-02-07 16:50:08 -02:00
|
|
|
from qdarkstyle import __doc__ as long_desc
|
2020-03-04 11:40:25 -03:00
|
|
|
from qdarkstyle import __version__
|
2014-02-20 13:31:58 +01:00
|
|
|
|
2022-08-18 21:36:10 -03:00
|
|
|
install_requires = ['qtpy>=2']
|
2019-05-03 15:03:46 -03:00
|
|
|
|
|
|
|
|
extras_require = {
|
2019-05-06 14:20:04 -03:00
|
|
|
'develop': ['qtsass', 'watchdog'],
|
2019-06-22 10:11:06 -03:00
|
|
|
'docs': ['sphinx', 'sphinx_rtd_theme'],
|
2019-06-04 11:12:20 -03:00
|
|
|
'example': ['pyqt5', 'pyside2']
|
2019-05-03 15:03:46 -03:00
|
|
|
}
|
|
|
|
|
|
2021-03-30 15:28:59 -03:00
|
|
|
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',
|
2022-08-18 21:36:10 -03:00
|
|
|
'Programming Language :: Python :: 3',
|
2021-03-30 15:28:59 -03:00
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
|
'Programming Language :: Python :: 3.7',
|
|
|
|
|
'Programming Language :: Python :: 3.8',
|
|
|
|
|
'Programming Language :: Python :: 3.9',
|
2022-08-18 21:36:10 -03:00
|
|
|
'Programming Language :: Python :: 3.10',
|
2021-03-30 15:28:59 -03:00
|
|
|
'Topic :: Software Development :: Libraries :: Application Frameworks'
|
|
|
|
|
]
|
2020-03-19 11:05:55 -03:00
|
|
|
|
2013-03-10 17:59:50 +01:00
|
|
|
setup(
|
|
|
|
|
name='QDarkStyle',
|
2015-04-09 16:01:51 +02:00
|
|
|
version=__version__,
|
2013-03-10 17:59:50 +01:00
|
|
|
packages=find_packages(),
|
|
|
|
|
url='https://github.com/ColinDuquesnoy/QDarkStyleSheet',
|
2014-01-02 15:57:14 +01:00
|
|
|
license='MIT',
|
2013-03-10 17:59:50 +01:00
|
|
|
author='Colin Duquesnoy',
|
|
|
|
|
author_email='colin.duquesnoy@gmail.com',
|
2021-03-29 12:40:34 -03:00
|
|
|
description='The most complete dark/light style sheet for C++/Python and Qt applications',
|
2018-02-07 16:50:08 -02:00
|
|
|
long_description=long_desc,
|
2020-03-23 09:14:56 -03:00
|
|
|
long_description_content_type='text/x-rst',
|
2021-03-30 15:28:59 -03:00
|
|
|
include_package_data=True, # add data file from MANIFEST.in #193
|
2021-12-10 14:20:46 +00:00
|
|
|
package_data={ # add data files when installing package #299
|
|
|
|
|
"": ["*",
|
|
|
|
|
"dark/rc/*",
|
|
|
|
|
"light/rc/*",
|
|
|
|
|
"qss/*",
|
|
|
|
|
"svg/*",
|
|
|
|
|
],
|
|
|
|
|
},
|
2021-03-30 15:28:59 -03:00
|
|
|
classifiers=classifiers,
|
2018-10-25 16:43:17 -03:00
|
|
|
zip_safe=False, # don't use eggs
|
2021-03-28 22:08:11 -03:00
|
|
|
entry_points={"console_scripts": ["qdarkstyle=qdarkstyle.__main__:main",
|
2021-03-29 00:43:35 -03:00
|
|
|
"qdarkstyle.example=qdarkstyle.example.__main__:main",
|
|
|
|
|
"qdarkstyle.utils=qdarkstyle.utils.__main__:main"]},
|
2019-05-03 15:03:46 -03:00
|
|
|
extras_require=extras_require,
|
2019-05-24 10:45:01 -03:00
|
|
|
install_requires=install_requires,
|
|
|
|
|
project_urls={
|
|
|
|
|
"Issues": "https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues",
|
|
|
|
|
"Docs": "https://qdarkstylesheet.readthedocs.io/en/stable",
|
|
|
|
|
}
|
2018-10-25 16:43:17 -03:00
|
|
|
)
|