X-Git-Url: https://vcs.fsf.org/?p=rainbowstream.git;a=blobdiff_plain;f=setup.py;h=447c9da3ef85d21615d849393c47144d7affd2ab;hp=5f31061857b2f1e1fec6edf963570eb48b66a4d6;hb=c16fa980296afdc87f9288fb00edc065927b9c94;hpb=a5901ee16a4c024b51a1bc918dd7b11d5c21a897;ds=sidebyside diff --git a/setup.py b/setup.py index 5f31061..447c9da 100644 --- a/setup.py +++ b/setup.py @@ -1,19 +1,29 @@ from setuptools import setup, find_packages -import sys +import os +import os.path -version = '0.3.2' +# Bumped version +version = '0.8.9' +# Require install_requires = [ "python-dateutil", + "arrow", "requests", "pyfiglet", - "SQLAlchemy", "twitter", "Pillow", ] -if sys.version[0] == "2": - install_requires += ["pysqlite"] +# 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 = 'chmod 777 ' + default + os.system(cmd) + +# Setup setup(name='rainbowstream', version=version, description="A smart and nice Twitter client on terminal.",