mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
setup.py.in: Try to import setuptools
This way, we can build binary wheels easily if needed
This commit is contained in:
committed by
Nick Wellnhofer
parent
dbfe6151ff
commit
3cc64a88d4
@@ -3,6 +3,12 @@
|
|||||||
# Setup script for libxml2 and libxslt if found
|
# Setup script for libxml2 and libxslt if found
|
||||||
#
|
#
|
||||||
import sys, os
|
import sys, os
|
||||||
|
|
||||||
|
try:
|
||||||
|
import setuptools
|
||||||
|
except ModuleNotFoundError:
|
||||||
|
pass
|
||||||
|
|
||||||
from distutils.core import setup, Extension
|
from distutils.core import setup, Extension
|
||||||
|
|
||||||
# Below ROOT, we expect to find include, include/libxml2, lib and bin.
|
# Below ROOT, we expect to find include, include/libxml2, lib and bin.
|
||||||
|
Reference in New Issue
Block a user