public
Description: SIP fork (C/C++ Python bindings generator) with automatic property generation
Homepage: http://www.riverbankcomputing.co.uk/sip/index.php
Clone URL: git://github.com/kevinwatters/sip.git
fixed building SIP if Python is sitting in a source tree
kevinw (author)
Fri May 16 13:49:29 -0700 2008
commit  c4a6404396931b8d3446c3a7f9adbeae3b75ddaf
tree    ab25f3d4480b0cf0594e755bd87bf5288bd2a916
parent  e77e0761c55f8f9191c97e1db089122f19f7fe79
...
216
217
218
219
 
 
 
 
220
221
222
...
216
217
218
 
219
220
221
222
223
224
225
0
@@ -216,7 +216,10 @@ def set_platform_directories():
0
     plat_py_conf_inc_dir = os.path.dirname(sysconfig.get_config_h_filename())
0
 
0
     if sys.platform == "win32":
0
- plat_py_lib_dir = sys.prefix + "\\libs"
0
+ if sysconfig.python_build:
0
+ plat_py_lib_dir = sysconfig.project_base
0
+ else:
0
+ plat_py_lib_dir = sys.prefix + "\\libs"
0
         plat_bin_dir = sys.exec_prefix
0
         plat_sip_dir = sys.prefix + "\\sip"
0
     else:

Comments

    No one has commented yet.