From: Mark H. <mha...@us...> - 2006-07-02 11:15:22
|
Update of /cvsroot/py2exe/py2exe/py2exe/samples/pywin32/isapi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21569/pywin32/isapi Added Files: README.txt setup.py Log Message: Finally commit some samples I've had hanging around forever. --- NEW FILE: setup.py --- # setup_interp.py # A distutils setup script for the ISAPI "redirector" sample. import os from distutils.core import setup import py2exe # Find the ISAPI sample - the redirector. import isapi script = os.path.join(isapi.__path__[0], "samples", "redirector.py") setup(name="ISAPI sample", # The ISAPI dll. isapi = [script], # command-line installation tool. console=[script], ) --- NEW FILE: README.txt --- A pywin32 ISAPI sample. This builds the pywin32 isapi 'redirector' sample (see site-packages\isapi\samples) into a py2exe distribution. Execute: setup.py py2exe and in the 'dist' directory you will find 'redirector.exe' (used to register/unregister the ISAPI extension), and 'redirector.dll' (the ISAPI filter and extension loaded by IIS.) See the pywin32 sample for more details about how to use the sample. |