[xiph-cvs] cvs commit: shout-python setup.py

Brendan brendan at xiph.org
Wed Jul 9 14:57:28 PDT 2003



brendan     03/07/09 17:57:28

  Modified:    .        setup.py
  Log:
  Bump version
  Search for shout.pc in /usr/local/lib/pkgconfig by default/

Revision  Changes    Path
1.2       +5 -1      shout-python/setup.py

Index: setup.py
===================================================================
RCS file: /usr/local/cvsroot/shout-python/setup.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -u -r1.1 -r1.2
--- setup.py	3 Jul 2003 17:30:44 -0000	1.1
+++ setup.py	9 Jul 2003 21:57:28 -0000	1.2
@@ -5,7 +5,11 @@ from distutils.core import setup, Extens
 import os
 import sys
 
-ver = '0.0.2'
+ver = '0.0.3'
+
+# write default shout.pc path into environment if PKG_CONFIG_PATH is unset
+if not os.environ.has_key('PKG_CONFIG_PATH'):
+  os.environ['PKG_CONFIG_PATH'] = '/usr/local/lib/pkgconfig'
 
 # Find shout compiler/linker flag via pkgconfig or shout-config
 if os.system('pkg-config --exists shout 2> /dev/null') == 0:

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list