Commit bb27d4ec authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

ci: Fix env install package.

Showing with 5 additions and 1 deletion
+5 -1
...@@ -116,6 +116,7 @@ build-developers-doc: ...@@ -116,6 +116,7 @@ build-developers-doc:
- python3 -m venv doc-venv - python3 -m venv doc-venv
- . doc-venv/bin/activate - . doc-venv/bin/activate
- pip3 install -r ../requirements.txt - pip3 install -r ../requirements.txt
- pip3 install -U -r ../requirements.txt
- pip3 install pdoc3 - pip3 install pdoc3
- pdoc --html . - pdoc --html .
# Create archive # Create archive
...@@ -152,6 +153,7 @@ build-linux: ...@@ -152,6 +153,7 @@ build-linux:
# Setup virtual env # Setup virtual env
- python3 -m venv linux-venv - python3 -m venv linux-venv
- . linux-venv/bin/activate - . linux-venv/bin/activate
- pip3 install -r ../requirements.txt
- pip3 install -U -r ../requirements.txt - pip3 install -U -r ../requirements.txt
# Run Pyinstaller # Run Pyinstaller
- pyinstaller -y --paths linux-venv/lib/python3.8/site-packages ../src/pamhyr.py - pyinstaller -y --paths linux-venv/lib/python3.8/site-packages ../src/pamhyr.py
...@@ -222,6 +224,7 @@ build-windows: ...@@ -222,6 +224,7 @@ build-windows:
- mkdir windows - mkdir windows
- cd windows - cd windows
# Setup env # Setup env
- python -m pip install -r ..\requirements.txt
- python -m pip install -U -r ..\requirements.txt - python -m pip install -U -r ..\requirements.txt
# Run Pyinstaller # Run Pyinstaller
- pyinstaller -y ..\src\pamhyr.py - pyinstaller -y ..\src\pamhyr.py
...@@ -251,8 +254,9 @@ test-pep8: ...@@ -251,8 +254,9 @@ test-pep8:
# Setup virtual env # Setup virtual env
- python3 -m venv venv - python3 -m venv venv
- . venv/bin/activate - . venv/bin/activate
- pip3 install -r ../requirements.txt
- pip3 install -U -r ../requirements.txt - pip3 install -U -r ../requirements.txt
- pip3 install -U pycodestyle - pip3 install pycodestyle
- pycodestyle ../src - pycodestyle ../src
allow_failure: true allow_failure: true
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment