feat: add initial project scaffolding with Makefile, setup.py, C headers, and Python Environment/Template classes

This commit is contained in:
2026-01-17 19:56:54 +00:00
commit f1ec272c09
90 changed files with 3049 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# retoor <retoor@molodetz.nl>
PYTHON = python3
PIP = pip3
.PHONY: all build install clean test
all: build
build:
$(PYTHON) setup.py build_ext --inplace
install:
$(PIP) install .
clean:
rm -rf build/
rm -rf src/rinja/*.so
rm -rf src/rinja/__pycache__
rm -rf tests/__pycache__
rm -rf rinja.egg-info
test: build
PYTHONPATH=src $(PYTHON) -m pytest tests