comtypes icon indicating copy to clipboard operation
comtypes copied to clipboard

Adapt to distutils being removed in 3.12

Open nanonyme opened this issue 4 years ago • 1 comments

Creating an issue about this for tracking. 3.10 release notes mark distutils as deprecated and set a date for removal https://docs.python.org/3.10/whatsnew/3.10.html#distutils

nanonyme avatar Apr 24 '21 19:04 nanonyme

This links to https://github.com/enthought/comtypes/issues/216 in a way that it might or might not be harder to keep supporting Python 2 once distutils is gone.

nanonyme avatar Apr 24 '21 19:04 nanonyme

It would be good to work on this issue at the time of dropping Python 2.7 from support.

(related to #392)

junkmd avatar Dec 05 '22 12:12 junkmd

NOTE:

from https://github.com/enthought/comtypes/issues/229#issuecomment-1242956971

Assumed first changes

https://github.com/enthought/comtypes/blob/cc9a0131edc76bd92073f75e9737aad40cd10c58/setup.py#L7-L11

from setuptools import Command, setup
from setuptools.command.install import install
from setuptools.command.build_py import build_py

junkmd avatar Jan 08 '23 02:01 junkmd

1.2.1 uses setuptools and supports both Python 3.12 and still Python 2.7. I think the issue can be closed.

vasily-v-ryabov avatar Jan 04 '24 21:01 vasily-v-ryabov