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:
parent
dbfe6151ff
commit
3cc64a88d4
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user