You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by nl...@apache.org on 2006/07/09 15:09:28 UTC

svn commit: r420292 - /httpd/mod_python/trunk/dist/build_installer.bat

Author: nlehuen
Date: Sun Jul  9 06:09:28 2006
New Revision: 420292

URL: http://svn.apache.org/viewvc?rev=420292&view=rev
Log:
Added instructions on how to make a debug build on Win32.

Modified:
    httpd/mod_python/trunk/dist/build_installer.bat

Modified: httpd/mod_python/trunk/dist/build_installer.bat
URL: http://svn.apache.org/viewvc/httpd/mod_python/trunk/dist/build_installer.bat?rev=420292&r1=420291&r2=420292&view=diff
==============================================================================
--- httpd/mod_python/trunk/dist/build_installer.bat (original)
+++ httpd/mod_python/trunk/dist/build_installer.bat Sun Jul  9 06:09:28 2006
@@ -25,10 +25,20 @@
 
 rem Cleanup
 rmdir /s /q build
-del ..\src\*.obj ..\src\*.lib ..\src\*.exp ..\src\*.res
+del /s ..\src\*.obj ..\src\*.lib ..\src\*.exp ..\src\*.res
 
 rem Build
 python setup.py.in bdist_wininst --install-script win32_postinstall.py
+GOTO END
+
+rem Use this instead of the previous line to create a debug build
+rem For this you need a Python debug build. The .py files will be installed
+rem directly in the Python debug build's site-packages. The .so file will remain
+rem in build/lib.win32-2.4, so you'll have to make sure your testconf.py file
+rem points to it instead of the copy that may already reside in LIBEXECDIR.
+
+rem python_d setup.py.in build --debug install
+rem GOTO END
 
 rem Compress the installer if possible
 upx.exe --no-color --no-progress --best dist\*.exe
@@ -36,7 +46,8 @@
 
 :BADAPACHESRC
 echo Currently APACHESRC points to %APACHESRC%
-echo This value seems wrong as we could not find a proper Apache installation here.
+echo This value seems wrong as we could not find a proper
+echo Apache installation here.
 
 :NOAPACHESRC
 echo Please set the APACHESRC variable to point to your Apache setup