Print

Print


> I do note that using `import distutils` rather than the vendored copy _does_ work.

The point of PR #1700 was to move off `distutils` as it is being deprecated, as @henryiii mentioned.

There I was already trying to do the guard that @henryiii suggests

https://github.com/xrootd/xrootd/blob/8e1e528232d8ead08468eefcbf991737eb5751da/bindings/python/setup.py.in#L3-L19

though as to

> Where does the `import setuptools` fail, though?

this was attempted in PR #1585, but 

> This PR was meant to also change:
> 
> * `distutils.setup` -> `setuptools.setup`
> * `distutils.sysconfig` -> CPython's `sysconfig`
> 
> but it seems that these are still required given the current state of the build and will need to be revised in a later PR.

I don't remember where exactly this failed, so let me post this and rerun the Docker build that is described there.



-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1830#issuecomment-1332674267
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