From 09f5b734d17d61e33051a974d27320a0233b539e Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Tue, 1 Oct 2024 16:06:03 +0900 Subject: [PATCH] Dropping `libgl1-mesa-glx` and `python-tk` install (#415) --- .github/workflows/publish-to-pypi.yml | 16 ++-------------- packages.txt | 2 -- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index d9784266..83976ef1 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -20,20 +20,8 @@ jobs: with: python-version: "3.x" - name: Install packages - run: > - sudo apt -y install - libgl1-mesa-glx - xvfb - python-tk - libglu1 - libxcursor-dev - libxft2 - libxinerama1 - libfltk1.3-dev - libfreetype6-dev - libgl1-mesa-dev - libocct-foundation-dev - libocct-data-exchange-dev + run: | + for i in $(cat packages.txt); do sudo apt-get install $i; done - name: Install pypa/build run: >- python3 -m diff --git a/packages.txt b/packages.txt index 33f5fe31..86fcf5bd 100644 --- a/packages.txt +++ b/packages.txt @@ -1,12 +1,10 @@ libfltk1.3-dev libfreetype6-dev libgl1-mesa-dev -libgl1-mesa-glx libglu1 libocct-data-exchange-dev libocct-foundation-dev libxcursor-dev libxft2 libxinerama1 -python-tk xvfb