Skip to content

Commit

Permalink
Revert python command
Browse files Browse the repository at this point in the history
  • Loading branch information
jenskutilek committed Sep 27, 2024
1 parent c83dd69 commit 9be2187
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SOURCES=$(shell python3.12 scripts/read-config.py --sources )
FAMILY=$(shell python3.12 scripts/read-config.py --family )
SOURCES=$(shell python3 scripts/read-config.py --sources )
FAMILY=$(shell python3 scripts/read-config.py --family )
DRAWBOT_SCRIPTS=$(shell ls documentation/*.py)
DRAWBOT_OUTPUT=$(shell ls documentation/*.py | sed 's/\.py/.png/g')

Expand All @@ -21,19 +21,19 @@ venv: venv/touchfile
venv-test: venv-test/touchfile

customize: venv
. venv/bin/activate; python3.12 scripts/customize.py
. venv/bin/activate; python3 scripts/customize.py

build.stamp: venv sources/config.yaml $(SOURCES)
rm -rf fonts
(for config in sources/config*.yaml; do . venv/bin/activate; gftools builder $$config; done) && touch build.stamp

venv/touchfile: requirements.txt
test -d venv || python3.12 -m venv venv
test -d venv || python3 -m venv venv
. venv/bin/activate; pip install -Ur requirements.txt
touch venv/touchfile

venv-test/touchfile: requirements-test.txt
test -d venv-test || python3.12 -m venv venv-test
test -d venv-test || python3 -m venv venv-test
. venv-test/bin/activate; pip install -Ur requirements-test.txt
touch venv-test/touchfile

Expand All @@ -46,7 +46,7 @@ proof: venv build.stamp
images: venv $(DRAWBOT_OUTPUT)

%.png: %.py build.stamp
. venv/bin/activate; python3.12 $< --output $@
. venv/bin/activate; python3 $< --output $@

clean:
rm -rf venv
Expand Down

0 comments on commit 9be2187

Please sign in to comment.