Skip to content

Commit

Permalink
build: switch to default backend
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw committed Oct 4, 2024
1 parent d147a5d commit e082501
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ dev: $(VENV)/pyvenv.cfg

$(VENV)/pyvenv.cfg: pyproject.toml
# Create our Python 3 virtual environment
python3 -m venv env
# NOTE(ekilmer): interrogate v1.5.0 needs setuptools when using Python 3.12+.
# This should be fixed when the next release is made
$(VENV_BIN)/python -m pip install --upgrade pip setuptools
python -m venv env
$(VENV_BIN)/python -m pip install -e .[$(INSTALL_EXTRA)]

.PHONY: lint
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[build-system]
requires = ["flit_core >=3.5,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "rfc8785"
dynamic = ["version"]
Expand All @@ -19,6 +15,9 @@ classifiers = [
dependencies = []
requires-python = ">=3.8"

[tool.setuptools.dynamic]
version = { attr = "rfc8785.__version__" }

[project.optional-dependencies]
doc = ["pdoc"]
test = ["pytest", "pytest-cov", "coverage"]
Expand Down

0 comments on commit e082501

Please sign in to comment.