Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nw-wind
Copy link

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

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