You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I agree it would be preferable to support Pathlike objects natively. Where possible, I'd like for distutils to simply pass these values along rather than handle them explicitly. Feel free to prepare a PR.
I prefer to use pathlib.Path objects, but helpers like
distutils.Command.make_file
only accept strings:distutils/distutils/cmd.py
Lines 387 to 391 in 27638e3
Filing this issue before I go in and make a PR to change these to
os.PathLike
checks. Any issues with that approach?Directed here from setuptools: pypa/setuptools#3315
The text was updated successfully, but these errors were encountered: