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 efb561978bbac98faae25afc8c6671e1f1fc1e85..2e71d86499f78288359fb9b49017f66c6a5cda77 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,