Skip to content

Issues installing with python v3.12 #23

@rjsmethurst

Description

@rjsmethurst

numpy.distutils has been depreciated with Python v3.12 and the setup.py now doesn't run. Changing the first line of code in setup.py from:

from numpy.distutils.core import Extension, setup

to:

from setuptools import Extension, setup

(as recommended by setuptools documentation) let's the code run, but then the Extension module runs into issue with the fortran files and you get this error:

building 'ifscube.elprofile' extension
error: unknown file type '.f90' (from 'ifscube/profiles.f90')

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions