Skip to content

Commit 322c96d

Browse files
committed
Fix setup.py and update version to 1.7.1
1 parent 656d769 commit 322c96d

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

PKGBUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Maintainer: Michal Krenek (Mikos) <m.krenek@gmail.com>
22
pkgname=hangupsbot
3-
pkgver=1.7.0
3+
pkgver=1.7.1
44
pkgrel=1
55
pkgdesc="Bot for Google Hangouts"
66
arch=('any')

hangupsbot/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.7.0"
1+
__version__ = "1.7.1"

setup.py

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
#!/usr/bin/env python
22

3+
import sys
4+
35
from setuptools import setup
46
from hangupsbot.version import __version__
57

8+
install_requires=[
9+
"hangups>=0.3.0",
10+
"appdirs"
11+
]
12+
13+
if sys.version_info < (3, 4):
14+
install_requires.append("asyncio")
15+
616
setup(
717
name="HangupsBot",
818
version=__version__,
@@ -24,11 +34,7 @@
2434
"hangupsbot=hangupsbot.__main__:main"
2535
],
2636
},
27-
install_requires=[
28-
"hangups>=0.3.0",
29-
"appdirs",
30-
"asyncio" # Only needed for backward compatibility with Python 3.3
31-
],
37+
install_requires=install_requires,
3238
classifiers=[
3339
"Development Status :: 4 - Beta",
3440
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)