monokai
[rainbowstream.git] / setup.py
index 0d99cd7232b927ca13f63c8545f6acb82b7350fc..a4e6dbaf35e5c2dffa13dc8907c9ac0d6e9e4913 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,31 +1,27 @@
 from setuptools import setup, find_packages
-import os, sys
+import os
+import os.path
 
 # Bumped version
-version = '0.3.5'
+version = '0.8.6'
 
 # Require
 install_requires = [
     "python-dateutil",
+    "arrow",
     "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',
@@ -39,6 +35,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",