From defd369e96650ddec9fb14c11b8060c066a6a8a2 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 8 Oct 2023 16:30:04 +0200 Subject: [PATCH] full switch to rtx --- .envrc | 3 --- .gitignore | 1 + .rtx.toml | 6 ++++++ .tool-versions | 1 - 4 files changed, 7 insertions(+), 4 deletions(-) delete mode 100644 .envrc create mode 100644 .rtx.toml delete mode 100644 .tool-versions diff --git a/.envrc b/.envrc deleted file mode 100644 index f1bcb18..0000000 --- a/.envrc +++ /dev/null @@ -1,3 +0,0 @@ -layout python3 -export ENV_FILE="$(realpath ./envs/local-envs.env)" -export DATABASE_URL="sqlite:///$(realpath ./db/db.sqlite3)" diff --git a/.gitignore b/.gitignore index de64655..31d6e36 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ dashboard_templates/backup_*.zip .idea/sonarlint/ character.json .direnv/ +.venv/ diff --git a/.rtx.toml b/.rtx.toml new file mode 100644 index 0000000..1642e12 --- /dev/null +++ b/.rtx.toml @@ -0,0 +1,6 @@ +[tools] +python = {version="3.11", virtualenv=".venv"} + +[env] +ENV_FILE = "{{config_root}}/envs/local-envs.env" +DATABASE_URL = "sqlite:///{{config_root}}/db/db.sqlite3" diff --git a/.tool-versions b/.tool-versions deleted file mode 100644 index 2ab8199..0000000 --- a/.tool-versions +++ /dev/null @@ -1 +0,0 @@ -python 3.11.2