File: 0001-Configure-setuptools-package-include.patch

package info (click to toggle)
python-lsp-ruff 1.5.3-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 148 kB
  • sloc: python: 752; makefile: 3
file content (21 lines) | stat: -rw-r--r-- 594 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Arto Jantunen <viiru@debian.org>
Date: Wed, 18 Oct 2023 12:38:04 +0300
Subject: Configure setuptools package include

Otherwise setuptools thinks the debian/ directory is a Python package and
becomes confused.
---
 pyproject.toml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pyproject.toml b/pyproject.toml
index f96f12e..4cb9daf 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -35,3 +35,6 @@ pythonpath = ["."]
 [tool.black]
 target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311']
 line-length = 88
+
+[tool.setuptools.packages.find]
+include = ["pylsp_ruff"]