Skip to content

Commit 2e0728e

Browse files
authored
Reworked how dependencies are installed
- 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
1 parent 2d3b3e9 commit 2e0728e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

install.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

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

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

venv/requirements.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
cffi==1.13.2
2-
numpy==1.18.1
3-
PyAudio==0.2.11
4-
pycparser==2.19
5-
PyQt5==5.14.0
6-
PyQt5-sip==12.7.0
1+
cffi
2+
numpy
3+
PyAudio
4+
pycparser
5+
PyQt5
6+
PyQt5-sip

0 commit comments

Comments
 (0)