Testing with dmftar
¶
To test scenarios in which dmftar
is used, install this command in a Python virtual environment:
git submodule update
to get the correct version of the dmftar source code.python3 -m venv .venv
to create a virtual environment.source .venv/bin/activate
to activate the virtual environment.pushd modules/dmftar
to change directory to the dmftar source code.pip3 install -r requirements.txt
to install the dmftar dependencies.flit install
to install the dmftar command.popd
to return to the root of the project.
(You could also use pip3 install -e .
instead of flit
, if you want to edit the source code, but that is not necessary).
Note that your public key must be added to the SURF Data Archive account used for testing.