Skip to content

Commit

Permalink
fix: we need python3-venv
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Nov 18, 2024
1 parent 5926f49 commit f0cd563
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ publish-pypi: clean package-pip lint-twine ##- Publish Python packages to pypi
install-build-deps:
ifeq ($(shell which apt-get),)
$(warning Cannot install build dependencies without apt.)
$(warning Cannot install build dependencies on non-linux platforms.)
else ifeq ($(wildcard /usr/include/libxml2/libxml/xpath.h),)
sudo $(APT) install libxml2-dev libxslt1-dev
sudo $(APT) install libxml2-dev libxslt1-dev python3-venv
else ifeq ($(wildcard /usr/include/libxslt/xslt.h),)
sudo $(APT) install libxslt1-dev
sudo $(APT) install libxslt1-dev python3-venv
else ifeq ($(wildcard /usr/share/doc/python3-venv/copyright),)
sudo $(APT) install python3-venv
endif

0 comments on commit f0cd563

Please sign in to comment.