Skip to content
Snippets Groups Projects
Commit 2b12dd122d83 authored by Chun-wei Fan's avatar Chun-wei Fan
Browse files

setup.py.in: Try to import setuptools

This way, we can build binary wheels easily if needed
parent 6dce35400fca
No related branches found
No related tags found
No related merge requests found
Pipeline #156 failed
...@@ -3,6 +3,12 @@ ...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment