pysqlite for python 2 user
authorvunhat_minh <vunhat_minh@dwango.co.jp>
Mon, 14 Jul 2014 05:05:31 +0000 (14:05 +0900)
committervunhat_minh <vunhat_minh@dwango.co.jp>
Mon, 14 Jul 2014 05:05:31 +0000 (14:05 +0900)
setup.py

index efb5619..2e71d86 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,5 @@
 from setuptools import setup, find_packages
+import sys
 
 version = '0.3.2'
 
@@ -10,6 +11,8 @@ install_requires = [
     "twitter",
     "Pillow",
 ]
+if sys.version[0] == "2":
+    install_requires += "pysqlite"
 
 setup(name='rainbowstream',
       version=version,