[PATCH] gitignore: Add venv directory to gitignore

Stefan Klug stefan.klug at ideasonboard.com
Wed Oct 9 09:16:00 CEST 2024


The python venv module is the standard way of creating virtual python
environments. 'venv' is a commonly used name for the corresponding
directory. For example in the tuning docs we propose to execute 'python
-m venv venv' to setup a local virtual environment.  During development
I often have these scattered around in the source tree and they show up
as untracked files in git. Add venv to .gitignore to prevent that.

Signed-off-by: Stefan Klug <stefan.klug at ideasonboard.com>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index f6d1d68e4a7c..51d3144085ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 *.patch
 *.pyc
 __pycache__/
+venv/
-- 
2.43.0



More information about the libcamera-devel mailing list