fix bug setup.py
[rainbowstream.git] / setup.py
index 57d36851a63e54f322ef853c255c1cc5f526ff96..5f31061857b2f1e1fec6edf963570eb48b66a4d6 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,17 +1,18 @@
 from setuptools import setup, find_packages
+import sys
 
-version = '0.1.2'
+version = '0.3.2'
 
 install_requires = [
-    "SQLAlchemy",
-    "pysqlite",
-    "colorama",
-    "pyfiglet",
     "python-dateutil",
+    "requests",
+    "pyfiglet",
+    "SQLAlchemy",
     "twitter",
     "Pillow",
-    "requests",
 ]
+if sys.version[0] == "2":
+    install_requires += ["pysqlite"]
 
 setup(name='rainbowstream',
       version=version,
@@ -23,16 +24,18 @@ setup(name='rainbowstream',
           "Intended Audience :: End Users/Desktop",
           "Natural Language :: English",
           "Operating System :: OS Independent",
-          "Programming Language :: Python :: 2.6",
           "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",
           "License :: OSI Approved :: MIT License",
       ],
-      keywords='twitter, command-line tools, web 2.0, stream API',
+      keywords='twitter, command-line tools, stream API',
       author='Vu Nhat Minh',
-      author_email='nhatminh_179@hotmail.com',
-      url='https://github.com/DTVD/rainbowstream',
+      author_email='nhatminh179@gmail.com',
+      url='http://www.rainbowstream.org/',
       license='MIT License',
       packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
       include_package_data=True,
@@ -41,6 +44,6 @@ setup(name='rainbowstream',
       entry_points="""
       # -*- Entry points: -*-
       [console_scripts]
-      rainbow=rainbowstream.rainbow:fly
+      rainbowstream=rainbowstream.rainbow:fly
       """,
       )