-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
74 lines (69 loc) · 2.08 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
import versioneer
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: X11 Applications :: Qt',
'Framework :: Twisted',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Natural Language :: English',
'Topic :: Software Development :: Libraries :: Python Modules'
]
setup(
name='qt5reactor',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
license='MIT',
classifiers=classifiers,
author='Christopher R. Wood',
author_email='[email protected]',
description='Twisted Qt Integration',
long_description=read('README.rst'),
url='https://github.com/twisted/qt5reactor',
packages=find_packages("src"),
package_dir={"": "src"},
keywords=['Qt', 'twisted'],
python_requires='>=3.5',
install_requires=[
'twisted',
'pywin32; sys_platform == "win32"',
],
extras_require={
"pyqt5": [
"pyqt5",
],
"pyqt6": [
"pyqt6",
],
"pyside2": [
# != 5.15.0 for:
# https://bugreports.qt.io/browse/PYSIDE-1317
# https://github.com/pytest-dev/pytest-twisted/pull/107#issuecomment-643679361
"pyside2 != 5.15.0",
],
"pyside6": [
"pyside6",
],
"test": [
"coverage",
"pytest",
"pytest-cov",
"pytest-twisted",
"tox>=3.1",
],
},
)