Update README.rst
[rainbowstream.git] / setup.py
index 1448f17cbe3ff7471a0d16fcb2f692795bf51f49..9e5b65e536e0ad41e0f1bd838ef9e9cb1546609c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,31 +1,31 @@
 from setuptools import setup, find_packages
-import os, sys
+import os
+import os.path
+import sys
 
 # Bumped version
-version = '0.3.7'
+version = '0.6.0'
 
 # Require
 install_requires = [
     "python-dateutil",
     "requests",
     "pyfiglet",
-    "SQLAlchemy",
     "twitter",
     "Pillow",
 ]
-# Python 3 doesn't hava pysqlite
+
+# Python 3 doesn't have 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',
@@ -39,6 +39,8 @@ setup(name='rainbowstream',
           "Natural Language :: English",
           "Operating System :: OS Independent",
           "Programming Language :: Python :: 2.7",
+          "Programming Language :: Python :: 3.2",
+          "Programming Language :: Python :: 3.3",
           "Programming Language :: Python :: 3.4",
           "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
           "Topic :: Utilities",