boinc icon indicating copy to clipboard operation
boinc copied to clipboard

5428: Replace distutils with setuptools

Open Delizald opened this issue 1 year ago • 3 comments

Fixes #5428

Description of the Change Replaces distutils library with setuptools for Python3

Alternate Designs

Release Notes

Delizald avatar Nov 22 '23 02:11 Delizald

Looks like there's more distutil references image

Delizald avatar Nov 22 '23 15:11 Delizald

Could you please replace those as well?

AenBleidd avatar Nov 22 '23 15:11 AenBleidd

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.

davidpanderson avatar Nov 22 '23 20:11 davidpanderson