X-Git-Url: https://vcs.fsf.org/?p=rainbowstream.git;a=blobdiff_plain;f=setup.py;h=0e347393c31431eb7e8dcf9bee1e98a2333af405;hp=06883651c6280d6386453863a1f76697ddfc46f1;hb=620587157c57f179960c2576b591819056f813bb;hpb=531f568231af56035b61bb196b0e43fa79ff223e diff --git a/setup.py b/setup.py index 0688365..0e34739 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.2' +version = '1.1.9' # Require install_requires = [ "python-dateutil", + "arrow", "requests", "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',