Forráskód Böngészése

chore: Fix python scripts shebang

Avoid python scripts "escaping" from venv
G10h4ck 1 éve
szülő
commit
1a232e67ad

+ 2 - 1
bin/app/data/favico/conv.py

@@ -1,4 +1,5 @@
-#!/usr/bin/python
+#!/usr/bin/env python
+
 from PIL import Image
 
 def make(name, size):

+ 2 - 1
bin/app/data/obj_to_rust.py

@@ -1,4 +1,5 @@
-#!/usr/bin/python
+#!/usr/bin/env python
+
 import sys
 
 class Obj:

+ 2 - 1
bin/app/echo.py

@@ -1,4 +1,5 @@
-#!/usr/bin/python
+#!/usr/bin/env python
+
 import zmq
 from pydrk import serial
 

+ 1 - 1
bin/deg/deg

@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python
 
 # This file is part of DarkFi (https://dark.fi)
 #

+ 1 - 1
bin/dnet/dnet

@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python
 
 # This file is part of DarkFi (https://dark.fi)
 #

+ 2 - 1
bin/tau/tau-python/tau

@@ -1,4 +1,5 @@
-#!/usr/bin/python3
+#!/usr/bin/env python
+
 import asyncio, os, sys, tempfile
 from datetime import datetime
 import time

+ 2 - 1
script/lilith_spawns.py

@@ -1,4 +1,5 @@
-#!/usr/bin/python
+#!/usr/bin/env python
+
 # This file is part of DarkFi (https://dark.fi)
 #
 # Copyright (C) 2020-2025 Dyne.org foundation

+ 3 - 1
script/node_get-info.py

@@ -1,4 +1,5 @@
-#!/usr/bin/python
+#!/usr/bin/env python
+
 # This file is part of DarkFi (https://dark.fi)
 #
 # Copyright (C) 2020-2025 Dyne.org foundation
@@ -15,6 +16,7 @@
 #
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 import asyncio, json, random, sys, time
 
 class JsonRpc:

+ 3 - 1
script/nodetool.py

@@ -1,4 +1,5 @@
-#!/usr/bin/python
+#!/usr/bin/env python
+
 # This file is part of DarkFi (https://dark.fi)
 #
 # Copyright (C) 2020-2025 Dyne.org foundation
@@ -15,6 +16,7 @@
 #
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 import asyncio, json, random, sys, time
 
 class JsonRpc:

+ 2 - 1
script/tor-test.py

@@ -1,4 +1,5 @@
-#!/usr/bin/python
+#!/usr/bin/env python
+
 # This file is part of DarkFi (https://dark.fi)
 #
 # Copyright (C) 2020-2025 Dyne.org foundation