```python try: from setuptools import setup, Extension import sysconfig except ImportError: from distutils.core import setup, Extension from distutils import sysconfig ``` ? Where does the `import setuptools` fail, though? Ideally, with a pyproject.toml pulling in setuptools, you can ignore the fallback. -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/1830#issuecomment-1332661519 You are receiving this because you are subscribed to this thread. Message ID: <[log in to unmask]> ######################################################################## 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