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 c7951d63..b5b1d91d 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: