/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Daniel Schömer
  • Date: 2008-07-21 18:07:34 UTC
  • mto: This revision was merged to the branch mainline in revision 568.
  • Revision ID: daniel.schoemer@gmx.net-20080721180734-c0v1nz1q0vld8id7
Strip newline from nautilus-python pythondir read from pkg-config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        files = []
80
80
        if sys.platform[:5] == 'linux':
81
81
            cmd = os.popen('pkg-config --variable=pythondir nautilus-python', 'r')
82
 
            res = cmd.readline()
 
82
            res = cmd.readline().strip()
83
83
            ret = cmd.close()
84
84
            
85
85
            if ret is None: