File: pyproject-version-file.patch

package info (click to toggle)
mercurial 7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 45,084 kB
  • sloc: python: 208,593; ansic: 56,460; tcl: 3,715; sh: 1,839; lisp: 1,483; cpp: 864; makefile: 769; javascript: 649; xml: 36
file content (18 lines) | stat: -rw-r--r-- 458 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
setuptools_scm insists on writing to the version_file during the build;
we don't want it to do that.

---
 pyproject.toml |    2 --
 1 file changed, 2 deletions(-)

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -117,8 +117,6 @@ archs = ["x86", "AMD64", "ARM64"]
 
 
 [tool.setuptools_scm]
-version_file = "mercurial/__version__.py"
-
 # this use `<last-tag>.post1.dev<distance>
 #
 # To restore the format introduced for 6.9 nightly build we would need to be