~compiz-team/compiz-compizconfig-python/compiz-compizconfig-python.fix_874799

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Sam Spilsbury
  • Author(s): Guillaume Seguin
  • Date: 2011-02-18 07:29:33 UTC
  • Revision ID: git-v1:5ccb653eb22428318c25b355b5143e695d33f0c7
Don't drop the stderr since it might give a message to the user
that could actually be quite useful (eg, adjust PKG_CONFIG_PATH)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    flag_map = {'-I': 'include_dirs', '-L': 'library_dirs', '-l': 'libraries', '-R': 'runtime_library_dirs'}
26
26
    cmd = ['pkg-config', '--libs', '--cflags']
27
27
 
28
 
    tokens = subprocess.Popen (cmd + list(packages), stdout=subprocess.PIPE, stderr=open(os.devnull, 'w')).communicate()[0].split ()
 
28
    tokens = subprocess.Popen (cmd + list(packages), stdout=subprocess.PIPE).communicate()[0].split ()
29
29
 
30
30
    for t in tokens:
31
31
        if '-L' in t[:2]: