Where to get / How to build a mod_wsgi Windows binary with python 3.0 support?

I wanted to experiment a bit with python 3.0 at home. I have python 3.0 running, I played with some scripts, and I thought it would be interesting to try making a small web project with it.

As I understand it, it turned out that mod_python for some reason will not be able to support python 3.0.

The only alternative I found is mod_wsgi .

The mod_wsgi project home page says that if you want to play with python 3.0 you need to get the latest version from the subversion repository. I was wondering if there are ready-made binaries for windows somewhere?

If there are no such binaries, then I will be grateful for any resources for creating it using VC ++ 2008. Or maybe even shared resources about creating apache and its modules with VC ++ 2008. Thank you.

Oh, and I'm using the latest version of Apache 2.2.

EDIT: Will there be a problem if I use the official apache build with my own version of mod_wsgi (I used the depend.exe file for apache and didn't seem to be created with VC ++ 2008)?

+5
source share
4 answers

Windows binaries are now shipped from the mod_wsgi site for Apache 2.2 and Python 2.6 and 3.0. Python 3.0 is only supported for mod_wsgi 3.0. Cm:

http://code.google.com/p/modwsgi/downloads/list


UPDATE July 2015

. :

+9

2.6 (), 3.0 (okay) Windows , .

Windows mod_wsgi, Google. , ; , , - , . , .

, Apache, , V++ ( ). V++ Python, . , Apache .

, mod_wsgi, , , , , , : (

+1

, ( 2 2008 ) , . :

http://groups.google.com/group/modwsgi/browse_thread/thread/93e5e56a04fe37ab/5883f8f6a0fcc945

- 2.6- - mod_python.

, Django, Windows, 2,5 ...: - (

0

mod_wsgi python 2.54 ( python - 2.5, MSVC7). xampp Apache 2.2.14 ( dev ):

:

mod_wsgi.so apache

generate.py :

##### BUILD MACHINE CONFIG #####

VS2003_PATH = r"C:\Program Files\Microsoft Visual Studio .NET 2003"

PYTHON_PATH = {
    # Put None or comment/delete the entry if a particular version is not present
    #24: r"C:\Python24",
    25: r"C:\dev\Python254",
}

APACHE_PATH = {
    # Put None or comment/delete the entry if a particular version is not present
    #20: r"c:\dev\xampp\apache",
    22: r"c:\dev\xampp\apache",
}

##### BUILD MACHINE CONFIG #####

APACHE_LIBS = {
    #20: "libhttpd.lib libapr.lib libaprutil.lib",
    22: "libhttpd.lib libapr-1.lib libaprutil-1.lib",
}
0

All Articles