David Seifert
a62b31f43f
Use portable python shebangs
...
* In conda or Gentoo Prefix, we don't want to use the system python and
instead rely on PATH lookup.
2022-04-06 19:57:30 +02:00
Nick Wellnhofer
5bc5f0762f
Fix build with older Python versions
...
ModuleNotFoundError is only available since Python 3.6. Use the
superclass ImportError instead. Fixes commit 3cc64a89.
Fixes #347 .
2022-02-24 18:41:23 +01:00
Nick Wellnhofer
1089111142
Redirect links to xmlsoft.org
...
Documentation and releases are now available on gitlab.gnome.org.
2022-02-13 23:10:00 +01:00
Chun-wei Fan
3cc64a88d4
setup.py.in: Try to import setuptools
...
This way, we can build binary wheels easily if needed
2022-01-16 15:18:06 +01:00
Chun-wei Fan
dbfe6151ff
Python distutils: Make DLL packaging more flexible
...
This updates setup.py.in to pack the DLLs according to the options we specified
to configure.js or CMake (or, even configure, although autotools builds are not
likely to build the libxml2 Python module via distutils).
At this point, we can pack only the DLLs that libxml2 really depends on, and
pack the libxslt DLLs only if we really built the libxslt Python modules.
Also make the DLL filenames more easily configured
2022-01-16 15:18:06 +01:00
Roumen Petrov
c2450d8ba3
fix some tabs mixing incompatible with python3
2014-10-16 11:46:35 +08:00
Daniel Veillard
3cb1ae26ec
First pass at starting porting to python3
2013-03-30 22:33:06 +08:00
Daniel Veillard
94bb2f1ca6
applied patch from Stphane Bidoul for the Python bindings on the new
...
* win32/configure.js python/setup.py.in: applied patch
from Stphane Bidoul for the Python bindings on the new
release.
Daniel
2003-04-27 22:14:07 +00:00
Daniel Veillard
2032d294ac
was missing "drv_libxml2.py" Daniel
...
* python/setup.py.in : was missing "drv_libxml2.py"
Daniel
2003-03-25 11:09:40 +00:00
Daniel Veillard
623a9eb2df
patch from Stphane Bidoul to include drv_libxml2.py in setup.py Daniel
...
* python/setup.py.in: patch from Stphane Bidoul to include
drv_libxml2.py in setup.py
Daniel
2003-01-04 12:47:20 +00:00
Daniel Veillard
0d132cffc1
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
2002-12-23 14:43:32 +00:00
Daniel Veillard
9d5ea17eb7
another patch from Stphane Bidoul for Python bindings on Windows small
...
* python/setup.py.in: another patch from Stphane Bidoul for
Python bindings on Windows
* doc/parsedecl.py: small cleanup
Daniel
2002-11-27 08:02:06 +00:00
Daniel Veillard
a1196ed414
trying to fix the Python bindings build on Windows (Stphane Bidoul)
...
* python/generator.py python/libxml.c python/setup.py.in: trying
to fix the Python bindings build on Windows (Stphane Bidoul)
Daniel
2002-11-23 11:22:49 +00:00
Daniel Veillard
6f46f6c5b8
Opening the interface xmlNewCharEncodingHandler as requested in #89415
...
* encoding.c include/libxml/encoding.h: Opening the interface
xmlNewCharEncodingHandler as requested in #89415
* python/generator.py python/setup.py.in: applied cleanup
patches from Marc-Andre Lemburg
* tree.c: fixing bug #89332 on a specific case of loosing
the XML-1.0 namespace on xml:xxx attributes
Daniel
2002-08-01 12:22:24 +00:00
Daniel Veillard
a7084cd57e
release of 2.4.20 updated and rebuilt the docs Daniel
...
* configure.in: release of 2.4.20
* doc/*: updated and rebuilt the docs
Daniel
2002-04-15 17:12:47 +00:00
Daniel Veillard
fa49d87f92
fix to adapt varaiations in the bindings fixed to have the version of the
...
* check-xml-test-suite.py: fix to adapt varaiations in the
bindings
* configure.in python/setup.py python/setup.py.in: fixed to
have the version of the python scripts automatically updated
Daniel
2002-03-09 10:20:00 +00:00