Skip to content

Commit

Permalink
Create virtual environment in hidden folder.
Browse files Browse the repository at this point in the history
This is the more common approach, to name
the folder .venv and not clutter the root
directory.
  • Loading branch information
Sven Hädrich committed Oct 10, 2024
1 parent 9d0089f commit d1ae46e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dali_mon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
[ -f venv/bin/activate ] || python3 -m venv venv
source ./venv/bin/activate
[ -f .venv/bin/activate ] || python3 -m venv .venv
source ./.venv/bin/activate
python3 -m pip install --upgrade pip > /dev/null
python3 -m pip install -r requirements.txt > /dev/null
python3 -OO source/dali_mon.py $*

0 comments on commit d1ae46e

Please sign in to comment.