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