diff --git a/.github/workflows/linux-package.yml b/.github/workflows/linux-package.yml index fef298874d5..082ce7de962 100644 --- a/.github/workflows/linux-package.yml +++ b/.github/workflows/linux-package.yml @@ -67,7 +67,7 @@ jobs: - name: Install dependencies run: | apt-get -qq update - apt-get install -y make build-essential m4 pkg-config autoconf libtool git python3 python3-distutils curl zip unzip tar bison p7zip-full libx11-dev libxft-dev libxext-dev libdbus-1-dev libxi-dev libxtst-dev libxrandr-dev libnotify-dev + apt-get install -y make build-essential m4 pkg-config autoconf libtool git python3 python3-distutils python3-setuptools curl zip unzip tar bison p7zip-full libx11-dev libxft-dev libxext-dev libdbus-1-dev libxi-dev libxtst-dev libxrandr-dev libnotify-dev - name: Install aws cli tool run: | diff --git a/py/setup.py.in b/py/setup.py.in index 22fd6e45f17..0a3183b69ee 100644 --- a/py/setup.py.in +++ b/py/setup.py.in @@ -1,6 +1,6 @@ #! /usr/bin/env python -from distutils.core import setup +from setuptools import setup setup(name = 'Boinc', version = '@PACKAGE_VERSION@', diff --git a/samples/vm_wrapper/setupPyBOINC.py b/samples/vm_wrapper/setupPyBOINC.py index 9b2552fc069..1895a9a2541 100644 --- a/samples/vm_wrapper/setupPyBOINC.py +++ b/samples/vm_wrapper/setupPyBOINC.py @@ -1,4 +1,4 @@ -from distutils.core import setup, Extension +from setuptools import setup, Extension # May need to adjust these to suit your system, but a standard installation of the BOINC client from source will put things in these places pyboinc = Extension('boinc', runtime_library_dirs=['/usr/local/lib', '../../lib', '../../api'],