setup.py.in

Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Need to be looking for link library and not dll when determining if APR 1

is present on Windows.

Attempt to auto detect when Apache uses APR 1.0 and link to those libraries

instead of older libraries when on Windows.

(MODPYTHON-128) Changed req.finfo to be an object where fields of underlying

fields of apr_finfo_t structure are accessed as object attributes. Tuple

style access is still maintained for backward compatability. The req.finfo

attribute is now also writable and can be assigned with the result of calling

new functions apache.stat() and apache.lstat().

  1. … 13 more files in changeset.
Added a Python 2.2 compatibility module. The test suite now runs successfully on Python 2.2 under Windows 2000.
  1. … 13 more files in changeset.
Fixed setup.py.in so it does not create the mod_python_so.so module in

non-windows builds.

  1. … 1 more file in changeset.
Applied Graham's setup.py.in-2.diff patch to fix Mac OSX compile problems.

Ref MODPYTHON-65

  1. … 1 more file in changeset.
Applied Graham Dumpleton's patch to support installation on Mac OS X (10.3.7)

Ref MODPYTHON-65

Better detection of a Win32 install.
  1. … 1 more file in changeset.
Integrated Jim Gallacher's fixes for setup.py.in : better support for Unix builds.
Cosmetic changes to the code in order to unify coding style.
  1. … 5 more files in changeset.
Building the _psp extension is done in the same way as buidling mod_python.so.
Define and use the WIN32 macro when building _psp.pyd, so that mod_python can be built on Win32 platform without removing the reference to unistd.h in psp_flex.h and psp_parser.c.
  1. … 2 more files in changeset.
property cleanup

  1. … 75 more files in changeset.
This is the new setup.py.in that is considerably smarter.

TODO: This file needs to be formatted prettier, and needs some

thorough testing. Also since it doesn't use configure, it should

be renamed to setup.py and configure.in needs to be adjusted

correctly.

PR:

Obtained from:

Submitted by: David Fraser

Reviewed by:

added option noyywrap to flex and removed libl

Mod_python package now includes _psp.so which is also built and

installed using distutils and does not #include <mod_python.h>. This

means it can be used from command line opening the door for us to

write command-line tools to compile psp pages.

psp.py has been greatly simplified. psp_interface.c renamed to

_pspmodule.c to be consistent with everything else.

The flex-generated psp_parser.c now supports the syntax whereby the

last indent in Python code sticks (this has been better described on

the dev list). I have not received any (constructive) negative (or any

positive) feedback, so for now this is where we are.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 16 more files in changeset.
Make install now uses distutils to install the mod_python package.

  1. … 4 more files in changeset.
dist/setup.py is now generated by configure, which is more intuitive

  1. … 3 more files in changeset.
The beginnings of a distutils based Windows installer. This requires

distutils from Python 2.3 because it has a windows post-install script

feature.

  1. … 4 more files in changeset.