Changeset 86:009d88175f56

Show
Ignore:
Timestamp:
11/10/09 18:54:06 (9 months ago)
Author:
roberto@…
Branch:
default
Message:

support for virtualenv

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • uwsgi.c

    r85 r86  
    723723#endif 
    724724 
     725#ifndef UNBIT 
     726#ifndef ROCK_SOLID 
     727        for (i = optind; i < argc; i++) { 
     728                fprintf(stderr,"Setting PythonHome to %s...\n", argv[i]); 
     729                Py_SetPythonHome(argv[i]);               
     730        } 
     731#endif   
     732#endif 
     733 
    725734#ifdef PYTHREE 
    726735        wchar_t pname[6] ; 
     
    736745        wsgi_spitout = PyCFunction_New(uwsgi_spit_method,NULL) ; 
    737746        wsgi_writeout = PyCFunction_New(uwsgi_write_method,NULL) ; 
     747 
    738748 
    739749#ifdef ROCK_SOLID