From 947416aefcf6052e06a2b1e9d3ca2d0c03ae633c Mon Sep 17 00:00:00 2001 From: Manuel Geiger <40306539+Ectras@users.noreply.github.com> Date: Thu, 11 Sep 2025 12:54:58 +0200 Subject: [PATCH] Remove pyenv setup from Makefile There was nothing project-specific about this setup, just setting up a normal virtual environment. As there are many tools to do this, I consider it unnecessary to describe this one tool. It is as if we were explaining how to install Python. The setup step (or e.g. the .python-version files) were also not used by the CI. --- .python-base-version | 1 - .python-version | 1 - Makefile | 6 ------ README.md | 13 ++++--------- 4 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 .python-base-version delete mode 100644 .python-version diff --git a/.python-base-version b/.python-base-version deleted file mode 100644 index e4fba218..00000000 --- a/.python-base-version +++ /dev/null @@ -1 +0,0 @@ -3.12 diff --git a/.python-version b/.python-version deleted file mode 100644 index 67cf6d4f..00000000 --- a/.python-version +++ /dev/null @@ -1 +0,0 @@ -syn-lib diff --git a/Makefile b/Makefile index ca840d2b..66122359 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,6 @@ # Variables CARGO := cargo -python_setup: - pyenv install -s $(shell cat .python-base-version) - pyenv virtualenv-delete -f $(shell cat .python-version) || true - pyenv virtualenv $(shell cat .python-base-version) $(shell cat .python-version) - pyenv version - python_project_setup: pip install -r requirements.txt pre-commit install --hook-type pre-commit --hook-type prepare-commit-msg --hook-type commit-msg diff --git a/README.md b/README.md index 17dbd169..f3a638d2 100644 --- a/README.md +++ b/README.md @@ -6,21 +6,16 @@ ### Python -We currently use python for pre-commit hooks. We herefore have a pyenv setup, after having pyenv and pyenv-virtualenv installed, simply run: - -``` -make python_setup -``` - -and +To run the basic python setup, run: ``` make python_project_setup ``` -### Rust +This will install the required dependencies. +*It is recommended to do this in a virtual environment*. -This project requires [rust](), please follow the guidelines for installation. +### Rust To run the basic rust setup, run: