[issue3467] sqlite3 path is hard coded in setup.py

2008-07-30 Thread Eric L. Frederich

Eric L. Frederich [EMAIL PROTECTED] added the comment:

If we put the following one liner right after sqlite_inc_paths is
defined it will add include directories based on the PATH environment
variable.

sqlite_inc_paths.extend([re.sub('/bin[/]?$', '/include', p) for p in
os.environ.get('PATH', '').split(':')])

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3467
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3467] sqlite3 path is hard coded in setup.py

2008-07-29 Thread Eric L. Frederich

New submission from Eric L. Frederich [EMAIL PROTECTED]:

In setup.py, the paths that it searches for sqlite in is hard coded in a
list sqlite_inc_paths.

This should also search any path in either $PATH or $LD_LIBRARY_PATH.

This is necessary for non-default installations of sqlite for users
without root access, or for those with root access that have multiple
versions installed in different locations.

--
components: Installation
messages: 70411
nosy: ericfrederich
severity: normal
status: open
title: sqlite3 path is hard coded in setup.py
type: compile error
versions: Python 2.5

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3467
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com