freeconf / lang

1 stars 2 forks source link

Code uses deprecated/not more available Python code #1

Open capiman opened 3 months ago

capiman commented 3 months ago

https://peps.python.org/pep-0632/

e.g. distutils

https://github.com/freeconf/lang/blob/852deedfb1e75474f3884f9b16736d916e3a9474/python/freeconf/driver.py#L96

can be replaced by

import shutil

full_path = which(fname)

dhubler commented 3 months ago

wasn't aware, thank you

On Thu, Jul 18, 2024 at 8:55 AM Martin Maurer @.***> wrote:

https://peps.python.org/pep-0632/

e.g. distutils

https://github.com/freeconf/lang/blob/852deedfb1e75474f3884f9b16736d916e3a9474/python/freeconf/driver.py#L96

can be replaced by

import shutil

full_path = which(fname)

— Reply to this email directly, view it on GitHub https://github.com/freeconf/lang/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAACA7UQK23I2TNMUYB2TZ3ZM63MVAVCNFSM6AAAAABLCT4H6OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYTMMRZGE3TEMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>