astropy / extension-helpers

Helpers to assist with building Python packages with compiled C/Cython extensions
https://extension-helpers.readthedocs.io
BSD 3-Clause "New" or "Revised" License
16 stars 12 forks source link

MAINT: Use pathlib to manage paths #83

Closed MridulS closed 2 months ago

MridulS commented 9 months ago

This is still WIP and I'm still not a 100% sure if we should do this as it seems like setuptools Extension itself doesn't really support Path objects. The src paths needs to be strings https://setuptools.pypa.io/en/latest/userguide/ext_modules.html#setuptools.Extension

pllim commented 8 months ago

I think doc warning is related: extension_helpers/_utils.py:docstring of extension_helpers._utils.write_if_different:1: WARNING: py:class reference target not found: PathLike

astrofrog commented 2 months ago

Closing in favor of https://github.com/astropy/extension-helpers/pull/84