quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Fraser <dav...@sjsoft.com>
Subject Re: New mod_python win32 installer for testing
Date Wed, 31 Mar 2004 15:02:20 GMT
Thanks Grisha! Glad to see it there at last.
When you have a chance, can we discuss whether my changes to setup.py 
can be included into the official CVS?
It would make building these much easier in future. If you have any 
problems with the code, we can discuss that

David

Gregory (Grisha) Trubetskoy wrote:

>I've tested the win32 binary and it worked for me, so that's another +1,
>and I uploaded it to the dist directory yesterday, looks like most mirrors
>already have it, so I added the link to it just now to
>
>http://httpd.apache.org/modules/python-download.cgi
>
>Grisha
>
>
>On Wed, 17 Mar 2004, David Fraser wrote:
>
>  
>
>>Hi Grisha
>>
>>That's great. I still have a problem with attaching files (see the mail
>>entitled "Files in FieldStorage under mod_python 3.1.3")
>>but I'm not sure if its Windows-only. Anyway there is a fix there.
>>But I would recommend releasing this, and putting that patch into a
>>3.1.4 release (i.e. please don't count this as a -1)
>>
>>David
>>
>>Gregory (Grisha) Trubetskoy wrote:
>>
>>    
>>
>>>The report by Anthony Barker on the mod_python list I think is another +1.
>>>I will try to test this on my machine, and if all works out this should be
>>>enough +1's to get the file uploaded to the Apache distribution area.
>>>
>>>Grisha
>>>
>>>On Thu, 11 Mar 2004, Gregory (Grisha) Trubetskoy wrote:
>>>
>>>
>>>
>>>      
>>>
>>>>Folks - please test this and send in your +/- 1's - we could really use a
>>>>win32 installer on the website.
>>>>
>>>>Grisha
>>>>
>>>>On Thu, 11 Mar 2004, David Fraser wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>I have made an updated installer using these scripts.
>>>>>It can be downloaded from
>>>>>http://davidf.sjsoft.com/files/mod_python-3.1.3.win32-py2.3.exe
>>>>>I would appreciate feedback from anybody using Windows...
>>>>>
>>>>>David
>>>>>
>>>>>David Fraser wrote:
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Hi
>>>>>>
>>>>>>I've been working on the mod_python dist/setup.py.in (mostly to make
>>>>>>it work for win32) and have added some important functionality...
>>>>>>
>>>>>>1) it no longer requires configure (so it could just be setup.py)
- it
>>>>>>either scans config.status or calculates the information itself (e.g.
>>>>>>it scans through the source file to find the mod_python version
>>>>>>number). On Windows it uses the APACHESRC environment variables to
>>>>>>find the apache include and lib directories (just like the VC++
>>>>>>project does)
>>>>>>2) it is now able to build mod_psp on Windows as well as Linux
>>>>>>3) most importantly, it is now able to build mod_python directly from
>>>>>>the setup.py (on Windows)
>>>>>>  this should be possible on non-Windows system too but will require
>>>>>>some work (we may have to make a distutils compiler class for apxs)
>>>>>>
>>>>>>There are a few notes:
>>>>>>- the build of the mod_python extension produces a mod_python_so.pyd
>>>>>>file, instead of the mod_python.so file we want. But at least on
>>>>>>Windows, I have modified win32_postinstall to install this one instead
>>>>>>of the other... (I call it mod_python_so.pyd instead of mod_python.pyd
>>>>>>so that when it is put in the site-packages directory it does not
>>>>>>confuse importing packages from mod_python)
>>>>>>- I have also added code to win32_postinstall to automatically detect
>>>>>>the currently installed versions of Apache from the registry. It would
>>>>>>be nice to let the user choose one of these. As a start, it just
>>>>>>selects the latest version as the starting point for the tkinter file
>>>>>>selection dialog (the win32 shell classes don't seem to let you do
>>>>>>this...)
>>>>>>
>>>>>>I have attached the modified setup.py.in (easier than a patch as
>>>>>>almost everything has changed) and win32_postinstall.py
>>>>>>
>>>>>>Any comments appreciated
>>>>>>
>>>>>>David
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>          
>>>>>
>>>
>>>      
>>>
>
>  
>


Mime
View raw message