From 2fbc442a5c3eb33baa50e9cf802cc5af83101db0 Mon Sep 17 00:00:00 2001 From: Hunter Richards Date: Tue, 27 Aug 2024 12:39:38 -0500 Subject: [PATCH] Remove virtualenv --- .github/workflows/django.yml | 3 --- Makefile | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 87df445..0b925ee 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -39,9 +39,6 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - name: Install Dependencies - run: | - pip install virtualenv - name: Run Tests run: | make test diff --git a/Makefile b/Makefile index 679a26e..8e2b38a 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ VENDOR_SENTINEL:=.sentinel venv: $(VENV_ACTIVATE) $(VENV_ACTIVATE): requirements*.txt - test -f $@ || virtualenv --python=python3.6 $(VENV_DIR) + test -f $@ || python -m venv $(VENV_DIR) $(WITH_VENV) pip install -r requirements-setup.txt $(WITH_VENV) pip install -e . $(WITH_VENV) pip install -r requirements-dev.txt