From f9c80fa1358ae68046b828b74e3613d87eba9660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= Date: Mon, 3 Jan 2022 18:36:12 +0200 Subject: Removed *.dylib from gitignore These are used by the macOS tests. --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index 86d063f..54defeb 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ *.pyc *.so *.dll -*.dylib build dist docs/_build -- cgit v1.2.1 From 0e07002ac82efa883061ac91c476d057b8d4d20d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Jan 2022 21:55:22 +0200 Subject: [pre-commit.ci] pre-commit autoupdate (#437) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v2.30.1 → v2.31.0](https://github.com/asottile/pyupgrade/compare/v2.30.1...v2.31.0) - https://gitlab.com/pycqa/flake8 → https://github.com/PyCQA/flake8 - [github.com/PyCQA/flake8: 3.9.2 → 4.0.1](https://github.com/PyCQA/flake8/compare/3.9.2...4.0.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 39c4377..0c5359c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: args: ["-a", "from __future__ import annotations"] - repo: https://github.com/asottile/pyupgrade - rev: v2.30.1 + rev: v2.31.0 hooks: - id: pyupgrade args: ["--py37-plus"] @@ -35,8 +35,8 @@ repos: - id: black args: [--target-version=py37] -- repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 +- repo: https://github.com/PyCQA/flake8 + rev: 4.0.1 hooks: - id: flake8 additional_dependencies: [flake8-bugbear] -- cgit v1.2.1 From ab82cea0d809968f9e558da06c4b772d1bbd5506 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Tue, 11 Jan 2022 12:42:59 +0200 Subject: Recommend build instead of invoking setup.py directly (#439) --- docs/quickstart.rst | 5 +++-- docs/user_guide.rst | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index a8fe813..13c16a3 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -1,9 +1,10 @@ Quickstart ========== -To build a wheel for your setuptools based project:: +To build a wheel for your project:: - python setup.py bdist_wheel + python -m pip install build + python -m build --wheel The wheel will go to ``dist/yourproject-.whl``. diff --git a/docs/user_guide.rst b/docs/user_guide.rst index 6517258..c8b5a34 100644 --- a/docs/user_guide.rst +++ b/docs/user_guide.rst @@ -4,9 +4,10 @@ User Guide Building Wheels --------------- -Building wheels from a setuptools_ based project is simple:: +To build a wheel for your project:: - python setup.py bdist_wheel + python -m pip install build + python -m build --wheel This will build any C extensions in the project and then package those and the pure Python code into a ``.whl`` file in the ``dist`` directory. @@ -20,7 +21,6 @@ adding this to your ``setup.cfg`` file: [bdist_wheel] universal = 1 -.. _setuptools: https://pypi.org/project/setuptools/ Including license files in the generated wheel file --------------------------------------------------- -- cgit v1.2.1