Hi @henryiii, thanks for the comments. I tried to use
try:
import setuptools
except ImportError:
pass
from distutils.core import setup, Extension
from distutils import sysconfig
but unfortunately this still fails in some cases. The idea is to use import setuptools
to override distutils
when that's available. I also tried a variant in which I do from setuptools import setup, Extension
then just import sysconfig
, but that also didn't work everywhere. Tomorrow I will try to debug the failures and find a solution, but in the longer term, I think I will just take some time to write new python packaging code following PEP 517 and PEP 632, dropping usage of deprecated stuff altogether.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1