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
|
# Make pocket actually optional
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220312
--- setup.py.orig 2016-08-16 14:49:45 UTC
+++ setup.py
@@ -15,14 +15,17 @@ version = '1.3.5'
install_requires = [
"python-dateutil",
"arrow",
- "requests==2.5.3",
+ "requests>=2.5.3",
"pyfiglet",
"twitter",
"Pillow",
"PySocks",
- "pocket"
]
+extras_require = {
+ 'pocket': ["pocket"],
+}
+
# Default user (considers non virtualenv method)
user = os.environ.get('SUDO_USER', os.environ['USER'])
@@ -65,6 +68,7 @@ setup(name='rainbowstream',
include_package_data=True,
zip_safe=True,
install_requires=install_requires,
+ extras_require=extras_require,
entry_points="""
# -*- Entry points: -*-
[console_scripts]
|