Skip to content

Commit ee5a4c7

Browse files
committed
Explain about the use of Python virtualenv
1 parent b0cf4aa commit ee5a4c7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scripts/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,12 @@ The scripts assume that certain things are installed on the computer and are in
1515
* Common Linux/Unix programs such as `sed`, `grep`, `mail`, etc.
1616

1717
Note that some of these programs themselves have additional dependencies of their own.
18+
19+
The scripts also depend on a Python `virtualenv` environment to be set up in the directory where the scripts are located. The virtual environment is assumed to be located in a subdirectory named `env`. The scripts [`archive-in-portico`](archive-in-portico) and [`upload-to-pmc`](upload-to-pmc) contain instructions to activate the virtual Python environment. The installation of the environment is fairly conventional:
20+
21+
```bash
22+
python3 -m pip install virtualenv --user
23+
virtualenv env
24+
source env/bin/activate
25+
python3 -m pip install microarchiver
26+
```

0 commit comments

Comments
 (0)