diff --git a/projects/github.com/Ousret/charset_normalizer/package.yml b/projects/github.com/Ousret/charset_normalizer/package.yml index 56a55872..d7befb16 100644 --- a/projects/github.com/Ousret/charset_normalizer/package.yml +++ b/projects/github.com/Ousret/charset_normalizer/package.yml @@ -10,12 +10,14 @@ dependencies: runtime: env: - PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH + PYTHONPATH: ${{prefix}}/venv/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH build: - - python -m pip install --prefix={{prefix}} . + - bkpyvenv stage {{prefix}} {{version}} + - ${{prefix}}/venv/bin/pip install . + - bkpyvenv seal {{prefix}} normalizer - run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}} - working-directory: ${{prefix}}/lib + working-directory: ${{prefix}}/venv/lib provides: - bin/normalizer @@ -24,4 +26,4 @@ test: - python -c 'import charset_normalizer; print(charset_normalizer.__version__)' | grep {{version}} - normalizer --version | grep {{version}} - echo "Hello, World!" > test.txt - - normalizer test.txt | grep 'English' \ No newline at end of file + - normalizer test.txt | grep 'English'