1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-19 14:50:07 +03:00

patch from Stphane Bidoul for Python 2.1 Daniel

* python/libxml.c python/setup.py.in: patch from Stphane Bidoul
  for Python 2.1
Daniel
This commit is contained in:
Daniel Veillard 2002-12-23 14:43:32 +00:00
parent fe8aab9843
commit 0d132cffc1
3 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Dec 23 15:42:24 CET 2002 Daniel Veillard <daniel@veillard.com>
* python/libxml.c python/setup.py.in: patch from Stéphane Bidoul
for Python 2.1
Sun Dec 22 11:24:06 CET 2002 Daniel Veillard <daniel@veillard.com>
* testC14N.c vms/config.vms: applied Craig A. Berry patches for VMS

View File

@ -25,6 +25,10 @@
#include "libxml_wrap.h"
#include "libxml2-py.h"
#if (defined(_MSC_VER) || defined(__MINGW32__)) && !defined(vsnprintf)
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
#endif
/* #define DEBUG */
/* #define DEBUG_SAX */
/* #define DEBUG_XPATH */

View File

@ -209,7 +209,11 @@ if missing("MANIFEST"):
if WITHDLLS:
ext_package = "libxmlmods"
data_files = [("lib/site-packages/libxmlmods",dlls)]
if sys.version >= "2.2":
base = "lib/site-packages/"
else:
base = ""
data_files = [(base+"libxmlmods",dlls)]
else:
ext_package = None
data_files = []