Whamcloud - gitweb
LU-16502 python: improve support for virtual environments 09/53209/2
authorTimothy Day <timday@amazon.com>
Wed, 22 Nov 2023 17:56:17 +0000 (17:56 +0000)
committerOleg Drokin <green@whamcloud.com>
Wed, 20 Dec 2023 01:57:21 +0000 (01:57 +0000)
commitf8326b3563647687ef1a14044123936356b57679
treef14642f0eaaf520e0333d7ddd0731060d37de483
parente0613df4027003c51cf1be0a84edbd5ffadd36d5
LU-16502 python: improve support for virtual environments

Python virutal environments make it easy to install the
correct Python packages isolated from the rest of the
system.

 https://docs.python.org/3/library/venv.html

.venv is added to .gitignore and a simple virtual environment
example has been added to the README.

This patch collects all of the requirements for various
scripts in the Lustre tree and consolidates them in a
top level requirements.txt. lu_object.py spacing was
fixed due to parsing errors.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I69d074e9ba50022817bd243fb82d004366ab6adf
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53209
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
.gitignore
README
contrib/debug_tools/epython_scripts/lu_object.py
requirements.txt [new file with mode: 0644]