aboutsummaryrefslogtreecommitdiff
path: root/share/hoarder/pybombs/unix/linux/debian/install
blob: 76d2ccef88755e699c0776b069dd88585df50e36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env sh
#
# Install PyBOMBS
#

# Parameters
SHARE="$1"
LIB="$2"

# Include basic functions
. $LIB/trashman/functions || exit 1
. $LIB/trashman/debian    || exit 1

# Additional parameters
PREFIX="$HOME/.local/share/pybombs/prefix-3.8"
PYBOMBS="$HOME/.local/bin/pybombs"

# Requirements
trashman_apt_install python3-pip

# Install PyBOMBS
pip3 install pybombs
mkdir -p $HOME/.local/share/pybombs

# Configure PyBOMBS
$PYBOMBS auto-config
$PYBOMBS recipes add-defaults

# Install gnuradio
$PYBOMBS prefix init $PREFIX -R gnuradio-default

# Process environment and run a command
#source $PREFIX/setup_env.sh
#gnuradio-companion