From eaab3d307d167c7f4838cd48faac9e178bab33f7 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 11 Nov 2021 14:40:39 +0200 Subject: [PATCH] Replace bdist_wheel with build --- art.yaml | 2 +- requirements-dev.in | 2 +- requirements-dev.txt | 15 ++++++++++----- setup.cfg | 3 --- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/art.yaml b/art.yaml index cd6851d..00622b3 100644 --- a/art.yaml +++ b/art.yaml @@ -1,5 +1,5 @@ prepare: - - python3 setup.py -q bdist_wheel + - python3 -m build file_map: - source: dist/*.whl strip: 1 diff --git a/requirements-dev.in b/requirements-dev.in index 09a9ccb..b24b41c 100644 --- a/requirements-dev.in +++ b/requirements-dev.in @@ -1,4 +1,5 @@ black +build flake8 flake8-bugbear flake8-docstrings @@ -10,4 +11,3 @@ pytest pytest-cov pytest-mock types-PyYAML -wheel diff --git a/requirements-dev.txt b/requirements-dev.txt index 953675c..42069be 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -10,6 +10,8 @@ attrs==21.2.0 # pytest black==21.10b0 # via -r requirements-dev.in +build==0.7.0 + # via -r requirements-dev.in click==8.0.3 # via # black @@ -43,11 +45,15 @@ mypy-extensions==0.4.3 # black # mypy packaging==21.2 - # via pytest + # via + # build + # pytest pathspec==0.9.0 # via black pep517==0.12.0 - # via pip-tools + # via + # build + # pip-tools pip-tools==6.4.0 # via -r requirements-dev.in platformdirs==2.4.0 @@ -86,6 +92,7 @@ toml==0.10.2 tomli==1.2.2 # via # black + # build # coverage # pep517 types-pyyaml==6.0.0 @@ -95,9 +102,7 @@ typing-extensions==3.10.0.2 # black # mypy wheel==0.37.0 - # via - # -r requirements-dev.in - # pip-tools + # via pip-tools # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/setup.cfg b/setup.cfg index 6ff10e0..edc21cf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,3 @@ -[bdist_wheel] -python-tag = py3 - [flake8] max-line-length = 88 extend-ignore = E203