mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-12 09:17:37 +03:00
parent
05135536b1
commit
6c4ea468b2
@ -62,7 +62,8 @@ if WITH_PYTHON
|
|||||||
check-local:
|
check-local:
|
||||||
@for f in $(XMLS) ; do test -f $$f || $(LN_S) $(srcdir)/$$f . ; done
|
@for f in $(XMLS) ; do test -f $$f || $(LN_S) $(srcdir)/$$f . ; done
|
||||||
@echo "## running Python regression tests"
|
@echo "## running Python regression tests"
|
||||||
@(export LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
|
@(export PYTHONPATH="..:../.libs:$(srcdir)/..:$$PYTHONPATH" ; \
|
||||||
|
export LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
|
||||||
export DYLD_LIBRARY_PATH="$(top_builddir)/.libs:$$DYLD_LIBRARY_PATH" ; \
|
export DYLD_LIBRARY_PATH="$(top_builddir)/.libs:$$DYLD_LIBRARY_PATH" ; \
|
||||||
export PATH="$(top_builddir)/.libs:$$PATH" ; \
|
export PATH="$(top_builddir)/.libs:$$PATH" ; \
|
||||||
for test in $(PYTESTS) ; do \
|
for test in $(PYTESTS) ; do \
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
sys.path += ('..', '../.libs')
|
|
||||||
|
|
||||||
if hasattr(os, 'add_dll_directory'):
|
if hasattr(os, 'add_dll_directory'):
|
||||||
os.add_dll_directory(os.path.join(os.getcwd(), '..', '..', '.libs'))
|
os.add_dll_directory(os.path.join(os.getcwd(), '..', '..', '.libs'))
|
||||||
|
Loading…
Reference in New Issue
Block a user