File: python3.patch

package info (click to toggle)
pycuda 2025.1.1~dfsg-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 1,676 kB
  • sloc: python: 13,445; cpp: 6,965; makefile: 70; sh: 1
file content (22 lines) | stat: -rw-r--r-- 547 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
22
Description: Run scripts under Python 3
 Ensure that setup.py and configure.py uses Python 3 for running.
Forwarded: not-needed
Author: Tomasz Rybak <serpent@debian.org>
Last-Update: 2019-11-06

--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from __future__ import annotations
 
 from os.path import dirname, join, normpath
--- a/test/test_gpuarray.py
+++ b/test/test_gpuarray.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 from __future__ import annotations
 
 import operator