provision.pl - changing depdendencies for py crypto
This commit is contained in:
parent
7e853ec18e
commit
2017145a4f
@ -123,7 +123,7 @@ if( ($admin_un) = `tail /etc/passwd | grep -v "nobody:"` =~ /([^:\n]+):[^:]+:[0-
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Setup the virtual environment
|
# Setup the virtual environment
|
||||||
system("pkg_add python3 openssl rust");
|
system("pkg_add python3 openssl rust py3-cryptography-3.1.1");
|
||||||
printf("generating virtual enviornment...\n");
|
printf("generating virtual enviornment...\n");
|
||||||
system("su $SVC_ACCT -c 'python3 -m venv venv'");
|
system("su $SVC_ACCT -c 'python3 -m venv venv'");
|
||||||
system("su $SVC_ACCT -c '. ./venv/bin/activate && pip3 install -r requirements.txt'");
|
system("su $SVC_ACCT -c '. ./venv/bin/activate && pip3 install -r requirements.txt'");
|
||||||
|
Loading…
Reference in New Issue
Block a user