-
Notifications
You must be signed in to change notification settings - Fork 189
/
setup.py
70 lines (60 loc) · 2.11 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
from setuptools import setup
import os
import sys
if sys.version_info < (3, 6):
raise RuntimeError("hangups requires Python 3.6+")
# Find __version__ without import that requires dependencies to be installed:
exec(open(os.path.join(
os.path.dirname(__file__), 'hangups/version.py'
)).read())
with open('README.rst') as f:
readme = f.read()
# Dependencies should be specified as a specific version or version range that
# is unlikely to break compatibility in the future. This is required to prevent
# hangups from breaking when new versions of dependencies are released,
# especially for end-users (non-developers) who use pip to install hangups.
install_requires = [
'ConfigArgParse>=0.11.0,<2',
'aiohttp>=3.7,<4',
'async-timeout>=2,<5',
'appdirs>=1.4,<1.5',
'readlike>=0.1.2,<0.2',
'requests>=2.6.0,<3', # uses semantic versioning (after 2.6)
'ReParser==1.4.3',
'protobuf>=3.1.0,<4',
'urwid>=1.3.1,<2.2',
'MechanicalSoup>=0.6.0,<0.13',
]
setup(
name='hangups',
version=__version__,
description=('the first third-party instant messaging client for Google '
'Hangouts'),
long_description=readme,
url='https://github.com/tdryer/hangups',
author='Tom Dryer',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
'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',
'Topic :: Communications :: Chat',
'Environment :: Console :: Curses',
],
packages=['hangups', 'hangups.ui'],
install_requires=install_requires,
entry_points={
'console_scripts': [
'hangups=hangups.ui.__main__:main',
],
},
)