jhbuild r2226 - in trunk: . jhbuild
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: jhbuild r2226 - in trunk: . jhbuild
- Date: Thu, 14 Aug 2008 08:25:01 +0000 (UTC)
Author: fpeters
Date: Thu Aug 14 08:25:01 2008
New Revision: 2226
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2226&view=rev
Log:
* jhbuild/config.py: create python site-packages directories under
jhbuild prefix as they won't be created by distutils.
Modified:
trunk/ChangeLog
trunk/jhbuild/config.py
Modified: trunk/jhbuild/config.py
==============================================================================
--- trunk/jhbuild/config.py (original)
+++ trunk/jhbuild/config.py Thu Aug 14 08:25:01 2008
@@ -217,9 +217,13 @@
if self.use_lib64:
pythonpath = os.path.join(self.prefix, 'lib64', pythonversion, 'site-packages')
addpath('PYTHONPATH', pythonpath)
+ if not os.path.exists(pythonpath):
+ os.makedirs(pythonpath)
pythonpath = os.path.join(self.prefix, 'lib', pythonversion, 'site-packages')
addpath('PYTHONPATH', pythonpath)
+ if not os.path.exists(pythonpath):
+ os.makedirs(pythonpath)
# handle environment prepends ...
for envvar in env_prepends.keys():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]