yolk icon indicating copy to clipboard operation
yolk copied to clipboard

UserWarning: Distutils was imported before Setuptools

Open lhoenig opened this issue 4 years ago • 0 comments

Since setuptools 49.2.0, a warning is printed whenever I run yolk:

/usr/lib/python3.8/site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.

See https://setuptools.readthedocs.io/en/latest/history.html#v49-2-0 and https://github.com/pypa/setuptools/issues/2230

Maybe the imports can be reordered to get rid of this visual disturbance? Thanks for yolk!

lhoenig avatar Jul 26 '20 13:07 lhoenig