X-Git-Url: https://vcs.fsf.org/?p=rainbowstream.git;a=blobdiff_plain;f=setup.py;h=9a28b1ed62adf4074dc2116d2faefefcbc4deebf;hp=715c91971f303bc60f2db81910ad178431b8e9a3;hb=685c4aa01ec277d8a81c1baa3a1585e3ba8ca684;hpb=7348171dfc9d5d69b7f3908bb54d3b9a45e367d2 diff --git a/setup.py b/setup.py index 715c919..9a28b1e 100644 --- a/setup.py +++ b/setup.py @@ -1,32 +1,28 @@ from setuptools import setup, find_packages -import os, sys +import os +import os.path # Bumped version -version = '0.4.7' +version = '1.2.9' # Require install_requires = [ "python-dateutil", - "requests", + "arrow", + "requests==2.5.3", "pyfiglet", - "SQLAlchemy", "twitter", "Pillow", + "PySocks" ] -# Python 3 doesn't hava pysqlite -if sys.version[0] == "2": - install_requires += ["pysqlite"] - # Copy default config if not exists -default = os.environ.get( - 'HOME', - os.environ.get( - 'USERPROFILE', - '')) + os.sep + '.rainbow_config.json' +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 = 'chmod 777 ' + default + os.system(cmd) # Setup setup(name='rainbowstream',