radiocosmology / caput

Cluster Astronomical Python Utilities
GNU General Public License v2.0
12 stars 21 forks source link

Build fails with Cython 3.x with setuptools Extension c++ language directive #245

Closed ljgray closed 1 year ago

ljgray commented 1 year ago

There are two related issues here:

These issues are partially fixed in #246, but we should extend that fix to all .pyx files in caput. The first issue is also avoided by either fixing our build environment to use cython < 3, or by installing with the--no-build-isolation flag and an environment already using cython < 3. This is why mkchimeenv script worked, but only when using the --fast flag which uses --no-build-isolation under the hood.

For now we should just merge #246, but I think we should take a better look a the build environment

ljgray commented 1 year ago

Closed by #246