-
Notifications
You must be signed in to change notification settings - Fork 46
/
setup.py
42 lines (39 loc) · 1.23 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
from setuptools import setup
import quamash
import re
import os.path
groups = re.findall(r'(.+?) <(.+?)>(?:,\s*)?', quamash.__author__)
authors = [x[0].strip() for x in groups]
emails = [x[1].strip() for x in groups]
desc_path = os.path.join(os.path.dirname(__file__), 'README.rst')
with open(desc_path, encoding='utf8') as desc_file:
long_description = desc_file.read()
setup(
name='Quamash',
version=quamash.__version__,
url=quamash.__url__,
author=', '.join(authors),
author_email=', '.join(emails),
packages=['quamash'],
license=quamash.__license__,
description=quamash.__doc__,
long_description=long_description,
keywords=['Qt', 'asyncio'],
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3 :: Only',
'Environment :: X11 Applications :: Qt',
],
# FIXME depends on PyQt4, PyQt5 or PySide, but cannot put that in a setup.py
extras_require={
'test': ['pytest'],
},
)