-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (46 loc) · 1.16 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
from pathlib import Path
from setuptools import setup, find_packages
HERE = Path(__file__).parent.absolute()
with (HERE / 'README.md').open('rt') as fh:
LONG_DESCRIPTION = fh.read().strip()
REQUIREMENTS: dict = {
'core': [
'qtpy',
'qtawesome',
'qt-handy',
],
'test': [
'pytest',
'pytest-qt',
'pytest-cov',
],
'dev': [
],
'doc': [
],
}
setup(
name='qt-textedit',
version='0.1.0',
author='Zsolt Kovari',
author_email='',
description='',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
url='',
packages=find_packages(),
python_requires='>=3.6, <4',
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
install_requires=REQUIREMENTS['core'],
extras_require={
**REQUIREMENTS,
'dev': [req
for extra in ['dev', 'test', 'doc']
for req in REQUIREMENTS.get(extra, [])],
# The 'all' extra is the union of all requirements.
'all': [req for reqs in REQUIREMENTS.values() for req in reqs],
},
)