Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
PyGreSQL
PyGreSQL.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PyGreSQL.patch of Package PyGreSQL
--- setup.py +++ setup.py @@ -35,6 +35,16 @@ optional_libs=['pq'] data_files = [] +# let variables be overridden from the environment +# prefix with 'SETUP_PY_' and use all uppercase. +# 5.3.2004, jw + +import os +for var in ['include_dirs', 'library_dirs', 'optional_libs']: + val = os.environ.get('SETUP_PY_' + var.upper()) + if val: + locals()[var] = val.split(':') + setup (name = "PyGreSQL", version = "3.4", description = "Python PostgreSQL Interfaces",
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor