File: 0002-Make-command-line-tool-available.patch

package info (click to toggle)
bleak 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,828 kB
  • sloc: python: 10,660; makefile: 165; java: 105
file content (22 lines) | stat: -rw-r--r-- 529 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Edward Betts <edward@4angle.com>
Date: Mon, 24 Apr 2023 13:26:39 +0200
Subject: Make command line tool available

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

diff --git a/pyproject.toml b/pyproject.toml
index 63c5308..785df8d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -58,6 +58,9 @@ pytest = "^8.2.1"
 pytest-asyncio = "^0.23.7"
 pytest-cov = "^3.0.0 "
 
+[tool.poetry.scripts]
+bleak = 'bleak:cli'
+
 [build-system]
 requires = ["poetry-core>=2.0.0"]
 build-backend = "poetry.core.masonry.api"