X-Git-Url: https://vcs.fsf.org/?p=rainbowstream.git;a=blobdiff_plain;f=setup.py;h=b04ce8e6159a29433ca16fc5dd64af4a81f0c289;hp=73573d011dee18400f7771e85b5b1c68c7326f78;hb=5caaaccb2d980189b0e1362fc66d44b9cc2932a1;hpb=e09afc94873e8989577f98f37426e250f90b4a21 diff --git a/setup.py b/setup.py index 73573d0..b04ce8e 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.9' +version = '1.3.1' # 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',