summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpython/setup.py.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/setup.py.in b/python/setup.py.in
index fce63824..012eb59a 100755
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -3,6 +3,12 @@
# Setup script for libxml2 and libxslt if found
#
import sys, os
+
+try:
+ import setuptools
+except ModuleNotFoundError:
+ pass
+
from distutils.core import setup, Extension
# Below ROOT, we expect to find include, include/libxml2, lib and bin.