Skip to content

Add PYBUILD_SNAKE to let python from venv and install to venv#4

Open
nw-wind wants to merge 1 commit into
p1otr:masterfrom
nw-wind:pybuild_snake
Open

Add PYBUILD_SNAKE to let python from venv and install to venv#4
nw-wind wants to merge 1 commit into
p1otr:masterfrom
nw-wind:pybuild_snake

Conversation

@nw-wind

@nw-wind nw-wind commented Jun 29, 2023

Copy link
Copy Markdown

When the developer uses python venv he may want to specify python interpreter with the full path.
The example of the debian/rules:

DH_ARGS=--with python3 --buildsystem=pybuild
PYBUILD_SNAKE=/opt/my_product_in_venv/
%:
    dh $@ $(DH_ARGS)

This allow install all the code into virtual environment of other debian package. For example the xxx-lib.deb contains just venv and aaa.deb & bbb.deb has the modules of two separate utilities etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant