1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00

setup.py.in: Try to import setuptools

This way, we can build binary wheels easily if needed
This commit is contained in:
Chun-wei Fan 2021-07-22 15:46:38 +08:00 committed by Nick Wellnhofer
parent dbfe6151ff
commit 3cc64a88d4

View File

@ -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.