X-Git-Url: https://vcs.fsf.org/?p=rainbowstream.git;a=blobdiff_plain;f=setup.py;h=b9cf53935ae984ba1d81977692dfb0b5f82cc64e;hp=593dc29c14c81db1c855e01bc821d04508d0c699;hb=4824b181ebf9aa8de4e93c8ce0563cc69f6e2e6d;hpb=fe9bb33b8bcedf485523d9f5979073775daa8ec5 diff --git a/setup.py b/setup.py index 593dc29..b9cf539 100644 --- a/setup.py +++ b/setup.py @@ -1,32 +1,26 @@ from setuptools import setup, find_packages -import os, sys +import os +import os.path # Bumped version -version = '0.4.5' +version = '0.6.2' # Require install_requires = [ "python-dateutil", "requests", "pyfiglet", - "SQLAlchemy", "twitter", "Pillow", ] -# 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',