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

Eric L. Frederich report at bugs.python.org
Wed Jul 30 17:48:14 CEST 2008


Eric L. Frederich <eric.frederich at gmail.com> 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 <report at bugs.python.org>
<http://bugs.python.org/issue3467>
_______________________________________


More information about the Python-bugs-list mailing list