diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba93b814e..4e11aa88c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: Expand-Archive -Path enemizer.zip -DestinationPath EnemizerCLI -Force - name: Build run: | - python -m pip install --upgrade pip setuptools==60.10.0 # 61 does not work with the current layout + python -m pip install --upgrade pip setuptools pip install -r requirements.txt python setup.py build --yes $NAME="$(ls build)".Split('.',2)[1] @@ -72,7 +72,7 @@ jobs: - name: Build run: | # pygobject is an optional dependency for kivy that's not in requirements - "${{ env.PYTHON }}" -m pip install --upgrade pip virtualenv PyGObject setuptools==60.10.0 # setuptools same as windows + "${{ env.PYTHON }}" -m pip install --upgrade pip virtualenv PyGObject setuptools "${{ env.PYTHON }}" -m venv venv source venv/bin/activate pip install -r requirements.txt diff --git a/setup.py b/setup.py index 7bdecc0f1..11c993774 100644 --- a/setup.py +++ b/setup.py @@ -408,6 +408,7 @@ def find_lib(lib, arch, libc): version=f"{version_tuple.major}.{version_tuple.minor}.{version_tuple.build}", description="Archipelago", executables=exes, + ext_modules=[], # required to disable auto-discovery with setuptools>=61 options={ "build_exe": { "packages": ["websockets", "worlds", "kivy"],