You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/04/05 10:04:36 UTC

[buildstream-plugins] 21/49: Adding pyproject.toml

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit 10f5d1cbb4f7f3bb3bf703a71bc5211536957c10
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Mon Mar 21 13:51:50 2022 +0900

    Adding pyproject.toml
---
 pyproject.toml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..fefbbec
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,26 @@
+[build-system]
+requires = [
+    # We need at least version 36.6.0 that introduced "build_meta"
+    "setuptools>=36.6.0",
+    # In order to build wheels, and as required by PEP 517
+    "wheel",
+    "Cython"
+]
+build-backend = "setuptools.build_meta"
+
+[tool.black]
+line-length = 119
+exclude = '''
+(
+  /(
+      \.eggs
+    | \.git
+    | \.mypy_cache
+    | \.tox
+    | _build
+    | build
+    | dist
+  )/
+  | src/buildstream/_protos
+)
+'''