File: fix-test-egg-generation.patch

package info (click to toggle)
python-envisage 6.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,360 kB
  • sloc: python: 10,012; makefile: 76; sh: 5
file content (23 lines) | stat: -rw-r--r-- 590 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
23
Description: Fix test egg generation
Author: Scott Talbert <swt@techie.net>
Last-Update: Wed, 11 Jan 2023 15:15:47 -0500

--- a/envisage/tests/test_egg_based.py
+++ b/envisage/tests/test_egg_based.py
@@ -35,7 +35,7 @@ def build_egg(egg_dir, dist_dir):
     """
     subprocess.run(
         [
-            "python",
+            sys.executable,
             "setup.py",
             "bdist_egg",
             "--dist-dir",
@@ -45,6 +45,7 @@ def build_egg(egg_dir, dist_dir):
         check=True,
         stdout=subprocess.PIPE,
         stderr=subprocess.PIPE,
+        env={},
     )