Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SHELL:=/bin/bash -e -o pipefail
SELF:=$(firstword $(MAKEFILE_LIST))

PY_VERSION:=$(shell python3 --version | cut -d" " -f2 | cut -d. -f1-2)
VE_DIR=venv
VE_DIR=venv/${PY_VERSION}

$(info Using Python ${PY_VERSION})

Expand Down Expand Up @@ -38,12 +38,12 @@ devready:
@echo '#################################################################################'

#=> venv: make a Python 3 virtual environment
venv: ${VE_DIR}
${VE_DIR}: venv/%:
python$* -mvenv $@; \
.PHONY: venv/%
venv/%:
python$* -m venv $@; \
source $@/bin/activate; \
python -m ensurepip --upgrade; \
pip install --upgrade pip setuptools wheel
pip install --upgrade pip setuptools

#=> develop: install package in develop mode
#=> develop: install package in develop mode
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ dynamic = ["version"]
dependencies = [
"attrs",
"requests",
"urllib3~=1.26",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -74,8 +73,8 @@ doctest_optionflags = [
"NORMALIZE_WHITESPACE",
]
markers = [
"network: tests that require network connectivity",
"slow: slow tests that should be run infrequently",
"network: tests that require network connectivity",
"slow: slow tests that should be run infrequently",
]
testpaths = [
"tests"
Expand Down
Loading