From 8927461dbfbf53492eb7518691990f2aa8eb64b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 22 Jul 2021 11:09:23 +0200 Subject: [PATCH] Document dev-environment setup instructions MyPy wants some extra love nowadays, and Black needs special handling as well. The latter is only available as beta-release, and Poetry only has "allow pre-release versions" as global flag, installing way too many beta packages for my taste. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 2140c57..be27aa8 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,17 @@ Blender Asset Tracer, a.k.a. BAT🦇, is the replacement of Development is driven by choices explained in [T54125](https://developer.blender.org/T54125). +## Setting up development environment + +``` +python3.9 -m venv .venv +. ./.venv/bin/activate +pip install -U pip +pip install poetry black +poetry install +mypy --install-types +``` + ## Uploading to S3-compatible storage