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

Use Python venv on OpenBSD #4436

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .builds/openbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ sources:
hottub_trigger: '^(dev|stable|bsd-.+|dist-.+)$'
tasks:
- rzpipe: |
/usr/local/bin/python3 -m ensurepip --user
/usr/local/bin/python3 -m pip install --user 'git+https://github.com/rizinorg/rz-pipe#egg=rzpipe&subdirectory=python'
/usr/local/bin/python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install 'git+https://github.com/rizinorg/rz-pipe#egg=rzpipe&subdirectory=python'
- build: |
cd rizin
meson setup --prefix=${HOME} build
Expand All @@ -37,7 +38,8 @@ tasks:
# Running the unit tests
MALLOC_OPTIONS=CFGU ninja -C build test
- test: |
/usr/local/bin/python3 -m pip install --user requests
source .venv/bin/activate
python3 -m pip install requests
cd rizin
export PATH=${HOME}/bin:/usr/local/bin:${PATH}
export LD_LIBRARY_PATH=${HOME}/lib:${HOME}/lib64:${LD_LIBRARY_PATH}
Expand Down
Loading