feat(repo): venv for python stuff

This commit is contained in:
Michele Cereda
2024-03-17 15:31:24 +01:00
parent 106b7fa97e
commit a6e760f3d5
3 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@@ -10,6 +10,7 @@
/package.json
/package-lock.json
.venv/
__pycache__/
.obsidian/

4
Makefile Normal file
View File

@@ -0,0 +1,4 @@
create-venv: override python_version ?= 3.12
create-venv:
python${python_version} -m 'venv' '.venv'
source '.venv/bin/activate' && pip install -r 'requirements.txt'

2
requirements.txt Normal file
View File

@@ -0,0 +1,2 @@
ansible==9.3.0
click==8.1.7