File: 0004-Set-correct-nvpy-path-in-launch-script.patch

package info (click to toggle)
nvpy 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,460 kB
  • sloc: python: 4,870; makefile: 37; sh: 11
file content (19 lines) | stat: -rw-r--r-- 370 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Stefan van der Walt <stefanv@berkeley.edu>
Date: Mon, 23 Sep 2019 22:38:09 -0700
Subject: Set correct nvpy path in launch script

---
 start-nvpy.py | 3 +++
 1 file changed, 3 insertions(+)

--- a/start-nvpy.py
+++ b/start-nvpy.py
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import sys
+sys.path.insert(0, "/usr/share/nvpy")
+
 import nvpy.nvpy
 
 nvpy.nvpy.main()