Skip to content

Commit

Permalink
F OpenNebula#5823: Update the way Python bindings are built and insta…
Browse files Browse the repository at this point in the history
…lled

Signed-off-by: Jakub Walczak <[email protected]>
  • Loading branch information
Jakub Walczak committed Feb 1, 2024
1 parent 41461d4 commit f66f680
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/oca/python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# Use full path to ensure virtualenv compatibility
PYTHON = $(shell which python3)
PIP = ${shell which pip3}
GDS = $(shell which generateDS)
PWD = $(shell pwd)

Expand All @@ -40,10 +41,10 @@ clean:
rm -rf build dist pyone/bindings *.egg-info doc

dist:
${PYTHON} setup.py sdist bdist_wheel
${PIP} wheel --no-deps -w dist .

install:
${PYTHON} setup.py install ${root}
${PIP} install --root-user-action=ignore ${PWD}/dist/*.whl

doc:
mkdir -p doc
Expand Down

0 comments on commit f66f680

Please sign in to comment.