1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-20 16:43:05 +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

@ -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 = []