Skip to content

Commit

Permalink
Reworked how dependencies are installed
Browse files Browse the repository at this point in the history
- Remove version control, so It's always up to date
- The installer will now use your global packages if you have them saving space
Otherwise it will install the one's you are missing in the venv
  • Loading branch information
GhostNaN authored May 19, 2020
1 parent 2d3b3e9 commit 2e0728e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# Create venv required
python -m venv venv
# Create venv and get missing dependencies
python -m venv venv --system-site-packages
source venv/bin/activate
pip install -r venv/requirements.txt

Expand All @@ -19,7 +19,7 @@ Type=Application
Comment='Audio Visualizer'
Terminal=false
Icon=$(pwd)/docs/REV.png
Exec=ReVidiaGUI.py
Exec=bash -c '"$(dirname "$1")"/ReVidiaGUI.py' dummy %k
Path=$(pwd)
" > ReVidia.desktop

Expand Down
12 changes: 6 additions & 6 deletions venv/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cffi==1.13.2
numpy==1.18.1
PyAudio==0.2.11
pycparser==2.19
PyQt5==5.14.0
PyQt5-sip==12.7.0
cffi
numpy
PyAudio
pycparser
PyQt5
PyQt5-sip

0 comments on commit 2e0728e

Please sign in to comment.