Skip to content

Commit

Permalink
python-xmp-toolkit should allow for normal installations again
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedrichFroebel committed Apr 20, 2024
1 parent 61ceff2 commit ce3a0ac
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,19 +112,6 @@ jobs:
- name: install python-xml-toolkit
run:
python -m pip install python-xmp-toolkit
if: ${{ matrix.python != '3.12' }}
- name: install python-xml-toolkit
run: |
mkdir -p deps/
python -m pip download --dest deps --no-binary python-xmp-toolkit --no-deps python-xmp-toolkit
cd deps
mkdir -p python-xmp-toolkit/
tar -xvzf python-xmp-toolkit-* --strip-components=1 -C python-xmp-toolkit
cd python-xmp-toolkit
sed -i 's/from distutils.version import LooseVersion//' libxmp/version.py
sed -i 's/VERSION_TUPLE = LooseVersion(VERSION).version/VERSION_TUPLE = tuple(map(int, VERSION.split(".")))/' libxmp/version.py
pip install .
if: ${{ matrix.python == '3.12' }}
# `libboost-python-dev` cannot be used, as this only works with the Python version shipped by the system.
# This means that for Ubuntu 20.04 each Python version different from 3.8 fails with something like
# `cannot find -lboost_python39` when installing Boost.Python through the system package manager.
Expand Down

0 comments on commit ce3a0ac

Please sign in to comment.