sv-tests icon indicating copy to clipboard operation
sv-tests copied to clipboard

a way to make the Pyhon dependencies more hermetic ?

Open hzeller opened this issue 1 year ago • 0 comments

The README describes installing some python dependencies

pip3 install --user -r conf/requirements.txt
export PATH=~/.local/bin:$PATH

Which of course modifiers the users' home directory (and possibly has silent assumptions of other Python libraries installed there and on the system), making the build less hermetic.

Is there a way to keep all the Python dependencies within the build of the project (e.g. out/ directory, which is make clean removed) and making sure that these and only these are used (possibly only assuming that pip3 exists on the system). Is this what the virtual-env thing is for ?

Leaving this to the Python literates to figure out.

hzeller avatar Sep 25 '22 15:09 hzeller