I had a working code of disutils in setup.py file like the following
from distutils.command.install import INSTALL_SCHEMES
for scheme in list(INSTALL_SCHEMES.values()):
scheme['data'] = scheme['purelib']
but today I got the following error while trying to run CI in github action
Traceback (most recent call last):
File "/home/runner/work/kombu/kombu/setup.py", line 60, in <module>
scheme['data'] = scheme['purelib']
KeyError: 'purelib'
I have not got enough resource to figure out the solution, yes distutils is deprecated, but as the code was working until today morning, can anyone please point me to the right fix?