boinc
boinc copied to clipboard
5428: Replace distutils with setuptools
Fixes #5428
Description of the Change Replaces distutils library with setuptools for Python3
Alternate Designs
Release Notes
Looks like there's more distutil references
Could you please replace those as well?
The important pieces of Python code are tools/make_project and sched/start.
We need to decide whether to use exclusively Python3. I'd be fine with this, although it might inconvenience projects running on old servers.
BTW, (although I ike Python) the use of Python in BOINC is old and messy; for example, the path_config.py kludge (see py/Boinc). At one point I converted 'update_versions' from Python to PHP and it was much shorter and simpler. We could do the same for make_project and start.