Skip to content

setup.py imports from distutils (Python 3.12 fatal error) #263

@juliangilbey

Description

@juliangilbey

The file setup.py imports from distutils.extension, which no longer exists in Python 3.12:

from distutils.extension import Extension

It should be sufficient to replace this with from setuptools import Extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions