-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
34 lines (28 loc) · 880 Bytes
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from os import path
from setuptools import setup
import importlib
dependencies = [ 'QtPy>=1.7.0' ]
for binding in ['PySide2', 'PyQt5', 'PySide', 'PyQt']:
spec = importlib.util.find_spec(binding)
if spec is not None:
break
else:
dependencies.append('PySide2>=5.12.2')
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='argparseqt',
version='0.3.4',
description='An easy way to make Qt GUIs using the argparse standard module',
url='https://github.com/domstoppable/argparseqt',
author='Dominic Canare',
author_email='[email protected]',
license='MIT',
packages=['argparseqt'],
install_requires=dependencies,
long_description=long_description,
long_description_content_type='text/markdown'
)