File: pybuild_no_submodule.patch

package info (click to toggle)
pytorch-text 0.14.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,560 kB
  • sloc: python: 14,197; cpp: 2,404; sh: 214; makefile: 20
file content (16 lines) | stat: -rw-r--r-- 485 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Aron Xu <aron@debian.org>
Date: 2023-02-02
Subject: Do not init submodules because we do not use them
Index: pytorch-text/setup.py
===================================================================
--- pytorch-text.orig/setup.py
+++ pytorch-text/setup.py
@@ -89,7 +89,7 @@ class clean(distutils.command.clean.clea
                 shutil.rmtree(str(path), ignore_errors=True)
 
 
-_init_submodule()
+#_init_submodule()
 setup_info = dict(
     # Metadata
     name="torchtext",