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 2005/05/20 18:39:15 UTC

svn commit: r171138 - in /httpd/mod_python/trunk/dist: build_installer.bat setup.py.in

Author: nlehuen
Date: Fri May 20 09:39:14 2005
New Revision: 171138

URL: http://svn.apache.org/viewcvs?rev=171138&view=rev
Log:
Better detection of a Win32 install.

Modified:
    httpd/mod_python/trunk/dist/build_installer.bat
    httpd/mod_python/trunk/dist/setup.py.in

Modified: httpd/mod_python/trunk/dist/build_installer.bat
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/dist/build_installer.bat?rev=171138&r1=171137&r2=171138&view=diff
==============================================================================
--- httpd/mod_python/trunk/dist/build_installer.bat (original)
+++ httpd/mod_python/trunk/dist/build_installer.bat Fri May 20 09:39:14 2005
@@ -22,4 +22,4 @@
 rmdir /s /q build
 del ..\src\*.obj ..\src\*.lib ..\src\*.exp ..\src\*.res
 python setup.py.in bdist_wininst --install-script win32_postinstall.py
-upx.exe -9 dist\*.exe || echo UPX is not installed, skipping compression
\ No newline at end of file
+upx.exe -9 dist\*.exe || echo UPX is not installed, skipping compression

Modified: httpd/mod_python/trunk/dist/setup.py.in
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/dist/setup.py.in?rev=171138&r1=171137&r2=171138&view=diff
==============================================================================
--- httpd/mod_python/trunk/dist/setup.py.in (original)
+++ httpd/mod_python/trunk/dist/setup.py.in Fri May 20 09:39:14 2005
@@ -92,7 +92,7 @@
 VER = getmp_version()
 
 # TODO: improve the intelligence here...
-winbuild = (len(sys.argv) > 1 and sys.argv[1] == "bdist_wininst") or (os.name == "nt")
+winbuild = ("bdist_wininst" in sys.argv) or (os.name == "nt")
 
 class PSPExtension(Extension):
     """a class that helps build the PSP extension"""