projects
/
rainbowstream.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add `tweet_mode='extended'` to `search` call
[rainbowstream.git]
/
setup.py
diff --git
a/setup.py
b/setup.py
index fe065349969f009c0a73000846f4cf713e473718..872dce18279fce90c193ee9d2b8c123480bb7f2b 100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-9,7
+9,7
@@
else:
from shlex import quote
# Bumped version
from shlex import quote
# Bumped version
-version = '1.3.
3
'
+version = '1.3.
7
'
# Require
install_requires = [
# Require
install_requires = [
@@
-19,19
+19,21
@@
install_requires = [
"pyfiglet",
"twitter",
"Pillow",
"pyfiglet",
"twitter",
"Pillow",
- "PySocks"
+ "PySocks",
+ "pocket"
]
# Default user (considers non virtualenv method)
]
# Default user (considers non virtualenv method)
-user = os.environ.get('SUDO_USER', os.environ
['USER']
)
+user = os.environ.get('SUDO_USER', os.environ
.get('USER', None)
)
# Copy default config if not exists
default = os.path.expanduser("~") + os.sep + '.rainbow_config.json'
if not os.path.isfile(default):
cmd = 'cp rainbowstream/colorset/config ' + default
os.system(cmd)
# Copy default config if not exists
default = os.path.expanduser("~") + os.sep + '.rainbow_config.json'
if not os.path.isfile(default):
cmd = 'cp rainbowstream/colorset/config ' + default
os.system(cmd)
- cmd = 'chown ' + quote(user) + ' ' + default
- os.system(cmd)
+ if user:
+ cmd = 'chown ' + quote(user) + ' ' + default
+ os.system(cmd)
cmd = 'chmod 777 ' + default
os.system(cmd)
cmd = 'chmod 777 ' + default
os.system(cmd)
@@
-50,6
+52,7
@@
setup(name='rainbowstream',
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
+ "Programming Language :: Python :: 3.5",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",