From 6c7ddcca9c4c6ee9e1fb23acea3bdcf8e77234fa Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Fri, 31 Jul 2020 16:12:14 +1000 Subject: [PATCH] Fix #940 --- src/ifcbimtester/bimtester.py | 2 +- src/ifcblenderexport/occ_utils.py | 1 - src/ifcclash/collision.py | 1 - src/ifcclash/ifcclash.py | 2 +- src/ifccobie/cobie.py | 2 +- src/ifccsv/ifccsv.py | 2 +- src/ifcdiff/ifcdiff.py | 2 +- src/ifcpatch/ifcpatch.py | 2 +- 8 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/ifcbimtester/bimtester.py b/src/ifcbimtester/bimtester.py index 95f69fc1d5..892e727720 100755 --- a/src/ifcbimtester/bimtester.py +++ b/src/ifcbimtester/bimtester.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Unix: # $ pyinstaller --onefile --clean --icon=icon.ico --add-data "features:features" bimtester.py` # Windows: diff --git a/src/ifcblenderexport/occ_utils.py b/src/ifcblenderexport/occ_utils.py index fef07c11c5..6087caa3bc 100755 --- a/src/ifcblenderexport/occ_utils.py +++ b/src/ifcblenderexport/occ_utils.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 ############################################################################### # # # This file is part of IfcOpenShell. # diff --git a/src/ifcclash/collision.py b/src/ifcclash/collision.py index 1832ddcb08..6bc841624a 100755 --- a/src/ifcclash/collision.py +++ b/src/ifcclash/collision.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # This code is taken from the trimesh project at https://github.com/mikedh/trimesh/blob/master/trimesh/collision.py # License MIT https://github.com/mikedh/trimesh/blob/master/LICENSE.md diff --git a/src/ifcclash/ifcclash.py b/src/ifcclash/ifcclash.py index 156a519758..359811bf59 100755 --- a/src/ifcclash/ifcclash.py +++ b/src/ifcclash/ifcclash.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import collision import ifcopenshell diff --git a/src/ifccobie/cobie.py b/src/ifccobie/cobie.py index 2851513368..1c6d0dff21 100755 --- a/src/ifccobie/cobie.py +++ b/src/ifccobie/cobie.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # This can be packaged with `pyinstaller --onefile --clean --icon=icon.ico bimtester.py` import os diff --git a/src/ifccsv/ifccsv.py b/src/ifccsv/ifccsv.py index ef60392347..3fce60cea0 100755 --- a/src/ifccsv/ifccsv.py +++ b/src/ifccsv/ifccsv.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # This can be packaged with `pyinstaller --onefile --clean --icon=icon.ico ifccsv.py` import ifcopenshell diff --git a/src/ifcdiff/ifcdiff.py b/src/ifcdiff/ifcdiff.py index be3ac41d4f..29f564a072 100755 --- a/src/ifcdiff/ifcdiff.py +++ b/src/ifcdiff/ifcdiff.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # This can be packaged with `pyinstaller --onefile --clean --icon=icon.ico ifcdiff.py` import ifcopenshell diff --git a/src/ifcpatch/ifcpatch.py b/src/ifcpatch/ifcpatch.py index 00d020bcb5..6def4ce78c 100644 --- a/src/ifcpatch/ifcpatch.py +++ b/src/ifcpatch/ifcpatch.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # This can be packaged with `pyinstaller --onefile --clean --icon=icon.ico ifcpatch.py` import ifcopenshell