Browse Source

py-smbus: Use setuptools instead of distutils

As per [1], distutils is deprecated in Python 3.10 and will be removed
entirely in Python 3.12.

As setuptools is essentially an enhanced version of distutils, it's
trivial to port to that.

[1] https://docs.python.org/3/whatsnew/3.10.html#distutils-deprecated

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
master
Ross Burton 4 years ago
committed by Jean Delvare
parent
commit
cf3541b8a7
  1. 2
      py-smbus/setup.py

2
py-smbus/setup.py

@ -1,6 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
from distutils.core import setup, Extension
from setuptools import setup, Extension
setup( name="smbus", setup( name="smbus",
version="1.1", version="1.1",

Loading…
Cancel
Save