File: exclude-tools-directory-from-build.diff

package info (click to toggle)
nanovna-saver 0.7.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,620 kB
  • sloc: python: 13,552; makefile: 71; sh: 18
file content (16 lines) | stat: -rw-r--r-- 579 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Origin: upstream https://github.com/NanoVNA-Saver/nanovna-saver/commit/f793d2ee94304a600611757b7c8e6df149bbf873
From: Jon Bergli Heier <snakebite@jvnv.net>
Subject: Exclude tools directory from build

When building don't include the tools directory in the package.

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -81,6 +81,7 @@
 [tool.setuptools.packages.find]
 # See https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html for more details
 where = ["src"]
+exclude = ["tools"]
 
 [tool.setuptools_scm]
 # For smarter version schemes and other configuration options,