Merge pull request #4646 from geerds/python26-sqlite3

Fix python26Packages.sqlite3
This commit is contained in:
Domen Kožar 2014-10-24 16:13:45 +02:00
commit 0272a469a9

View File

@ -135,11 +135,6 @@ let
buildPhase = buildPhase =
'' ''
# Fake the build environment that setup.py expects.
ln -s ${python}/include/python*/pyconfig.h .
ln -s ${python}/lib/python*/config/Setup Modules/
ln -s ${python}/lib/python*/config/Setup.local Modules/
substituteInPlace setup.py --replace 'self.extensions = extensions' \ substituteInPlace setup.py --replace 'self.extensions = extensions' \
'self.extensions = [ext for ext in self.extensions if ext.name in ["${internalName}"]]' 'self.extensions = [ext for ext in self.extensions if ext.name in ["${internalName}"]]'