Skip to content
This repository has been archived by the owner on Nov 27, 2017. It is now read-only.

Determine sqlite include path for python on linux as well. #330

Closed

Conversation

yesimon
Copy link
Contributor

@yesimon yesimon commented Apr 2, 2015

Python's setup.py extracts include/lib paths from -I, -L sysconfig vars when the os is darwin, but it even says in the comments it should work for unixy os as well! The point is that setup.py tries to build the sqlite3 extension looking for system sqlite3, which either may not exist, or is not what you want when linking to brew built sqlite3. This is why I think it shouldn't be a flag option like --with-brewed-sqlite.

Python's setup.py extracts include/lib paths from -I, -L sysconfig vars
when the os is darwin, but it even says in the comments it should work
for unixy os as well! The point setup.py tries to build the sqlite3
extension looking for system sqlite3, which either may not exist, or is
not what you want when linking to brew build sqlite3.
@sjackman sjackman self-assigned this Apr 2, 2015
@sjackman
Copy link
Member

sjackman commented Apr 2, 2015

Please submit this patch to setup.py upstream to Python.

@sjackman sjackman closed this Apr 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants