mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-06 09:31:43 +00:00
setup: require pysqlite >= v2.0.5. if we are running on Python < 2.5
This commit is contained in:
parent
2841d6a266
commit
81b0e1382d
@ -19,6 +19,13 @@ install_requires=[
|
|||||||
"Nevow >= 0.6.0",
|
"Nevow >= 0.6.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Sqlite comes built into Python >= 2.5, and is provided by the "pysqlite"
|
||||||
|
# distribution for Python 2.4.
|
||||||
|
import sys
|
||||||
|
if sys.version_info < (2, 5):
|
||||||
|
# pysqlite v2.0.5 was shipped in Ubuntu 6.06 LTS "dapper" and Nexenta NCP 1.
|
||||||
|
install_requires.append("pysqlite >= 2.0.5")
|
||||||
|
|
||||||
## The following block is commented-out because there is not currently a pywin32 package which
|
## The following block is commented-out because there is not currently a pywin32 package which
|
||||||
## can be easy_install'ed and also which actually makes "import win32api" succeed. Users have
|
## can be easy_install'ed and also which actually makes "import win32api" succeed. Users have
|
||||||
## to manually install pywin32 on Windows before installing Tahoe.
|
## to manually install pywin32 on Windows before installing Tahoe.
|
||||||
@ -35,7 +42,6 @@ install_requires=[
|
|||||||
## # until Twisted does that, Tahoe needs to be non-ignorant of the following requirement:
|
## # until Twisted does that, Tahoe needs to be non-ignorant of the following requirement:
|
||||||
## install_requires.append('pywin32')
|
## install_requires.append('pywin32')
|
||||||
|
|
||||||
import sys
|
|
||||||
if hasattr(sys, 'frozen'): # for py2exe
|
if hasattr(sys, 'frozen'): # for py2exe
|
||||||
install_requires=[]
|
install_requires=[]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user