File: test-prefix-install.sh

package info (click to toggle)
duplicity 3.0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,260 kB
  • sloc: python: 25,089; sh: 934; ansic: 392; makefile: 83
file content (15 lines) | stat: -rwxr-xr-x 446 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# clean previous runs
rm -rf /tmp/test-setup

# clone the setup branch
git clone -b setup git@gitlab.com:duplicity/duplicity.git /tmp/test-setup
cd /tmp/test-setup

# install and test - should return version and date
python3.12 -m pip install . --prefix=/tmp/test-setup/prefix
export PYTHONPATH=/tmp/test-setup/prefix/lib/python3.12/site-packages/
export PATH=/tmp/test-setup/prefix/bin:$PATH
duplicity -V
python3.12 -m duplicity -V