-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make colcon python package builds use correct shebang for merge installs
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...cipes-devtools/colcon/python3-colcon-core/0003-Force-shebang-to-usr-bin-env-python3.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/colcon_core/task/python/build.py b/colcon_core/task/python/build.py | ||
index 7181d20..eb82058 100644 | ||
--- a/colcon_core/task/python/build.py | ||
+++ b/colcon_core/task/python/build.py | ||
@@ -73,7 +73,7 @@ class PythonBuildTask(TaskExtensionPoint): | ||
os.path.realpath(args.build_base), | ||
os.path.realpath(args.path)), | ||
'build', '--build-base', os.path.join( | ||
- args.build_base, 'build'), | ||
+ args.build_base, 'build'), '--executable', '/usr/bin/env python3', | ||
'install', '--prefix', args.install_base, | ||
'--record', os.path.join(args.build_base, 'install.log'), | ||
# prevent installation of dependencies specified in setup.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters