-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
73 lines (62 loc) · 2.18 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
#
# Copyright 2017 University of Southern California
# Distributed under the GNU GPL 3.0 license. See LICENSE for more info.
#
""" Installation script for deriva.qt
"""
from setuptools import setup, find_packages
import re
import io
__version__ = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
io.open('deriva/qt/__init__.py', encoding='utf_8_sig').read()
).group(1)
def get_readme_contents():
with io.open('README.md') as readme_file:
return readme_file.read()
url = 'https://github.com/informatics-isi-edu/deriva-qt'
author = 'USC Information Sciences Institute, Informatics Systems Research Division'
author_email = '[email protected]'
setup(
name='deriva-qt',
description='Graphical User Interface tools for DERIVA built on PyQt5',
long_description="For further information, visit the project [homepage](%s)." % url,
long_description_content_type='text/markdown',
url=url,
author=author,
author_email=author_email,
maintainer=author,
maintainer_email=author_email,
version=__version__,
python_requires='>=3.7',
packages=find_packages(),
package_data={'deriva.qt': ['upload_gui/conf/config.json', '*/resources/images/*']},
entry_points={
'console_scripts': [
'deriva-auth = deriva.qt.auth_agent.__main__:main',
'deriva-upload = deriva.qt.upload_gui.__main__:main'
]
},
install_requires=[
'deriva>=1.7.0'
],
extras_require={
'PyQt5': ["PyQt5==5.11.3"],
'PyQtWebEngine': ["PyQtWebEngine>=5.15.4"]
},
license='GNU GPL 3.0',
classifiers=[
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
)