2021-08-23 05:16:58 +00:00
|
|
|
CLEUSB=Cle8G
|
|
|
|
|
|
|
|
COMMON_EXCLUDE=--exclude "__pycache__" --exclude "venv/" --exclude ".git" --exclude ".gitignore" --exclude ".*" --exclude "**/*.ppm"
|
|
|
|
|
|
|
|
VENV="enseignements"
|
|
|
|
|
|
|
|
install:
|
|
|
|
git config core.hooksPath ./tools/git/hooks/
|
|
|
|
python -m venv ~/.venv/$(VENV)
|
|
|
|
( \
|
|
|
|
. ~/.venv/$(VENV)/bin/activate;\
|
|
|
|
pip install -r requirements.txt;\
|
|
|
|
)
|
|
|
|
|
|
|
|
update:
|
|
|
|
( \
|
|
|
|
. ~/.venv/$(VENV)/bin/activate;\
|
|
|
|
pip install --ignore-installed -r requirements.txt
|
|
|
|
)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
git clean -idx -e venv/ -e video/
|
|
|
|
|
2021-08-23 17:48:16 +00:00
|
|
|
sequence:
|
|
|
|
sh ./tools/scripts/new_sequence.sh
|
|
|
|
|
2021-09-16 08:48:52 +00:00
|
|
|
eval:
|
|
|
|
sh ./tools/scripts/new_eval.sh
|
|
|
|
|
2021-08-23 05:16:58 +00:00
|
|
|
rsync_cleUSB: clean
|
|
|
|
rsync -rtv -u --del --exclude "venv" ./ $(COMMON_EXCLUDE) /run/media/lafrite/$(CLEUSB)/Enseignements
|
|
|
|
rsync -rtv -u $(COMMON_EXCLUDE) ../Divers/ /run/media/lafrite/$(CLEUSB)/Divers
|
|
|
|
rsync -rtv -u $(COMMON_EXCLUDE) ../Notes/ /run/media/lafrite/$(CLEUSB)/Notes
|
|
|
|
rsync -rtv -u $(COMMON_EXCLUDE) ../Productions\ Eleves/ /run/media/lafrite/$(CLEUSB)/Productions
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY:
|