If you use MacPorts, this might help:
-- BEGIN --
PortSystem 1.0

name              mod_wsgi
version           2.3
categories        www python
platforms         darwin
maintainers       [email protected]
description       Python WSGI adapter module for Apache.
long_description  The aim of mod_wsgi is to implement a simple to use Apache
\
    module which can host any Python application which supports the Python
WSGI \
    interface. The module would be suitable for use in hosting high
performance \
    production web sites, as well as your average self managed personal
sites \
    running on web hosting services.

homepage           http://www.modwsgi.org/
master_sites       http://modwsgi.googlecode.com/files/
checksums          md5 c686e1c498dbe5753fe491c3cf61cff4

depends_lib        port:apache2 port:python26

configure.cppflags-append \
                   "-I${prefix}/include/python2.6"
configure.ldflags-append \
                   "-Wl,-F${prefix}/Library/Frameworks"
configure.args \
                   --with-apxs=${prefix}/apache2/bin/apxs \
                   --with-python=${prefix}/bin/python2.6

destroot.violate_mtree yes
pre-destroot {
    xinstall -d -m 755 ${destroot}${prefix}/apache2/modules
}
post-install {
    ui_msg "########################################################"
    ui_msg "# To enable mod_wsgi add"
    ui_msg "#  LoadModule python_module modules/mod_wsgi.so"
    ui_msg "# to your apache2 config file:"
    ui_msg "#  ${prefix}/apache2/conf/httpd.conf"
    ui_msg "########################################################"
}
-- END --


-Naitik

On Thu, Mar 19, 2009 at 2:23 PM, Gnarlodious <[email protected]>wrote:

>
> Hi there. I have a PPC Xserve OSX 10.5 all freshly installed.  I want
> to run Python with WSGI, but have not found any clear instructions how
> to install it. Sorry I don't know much about this stuff, only Apache.
> If someone can explain more concisely I would appreciate it, and post
> the procedure on my site.
>
> Thanks.
>
> -- Gnarlie
> http://Gnarlodious.com/
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to