]> git.notmuchmail.org Git - notmuch/commitdiff
python: convert shebangs to python3
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 13 Feb 2021 00:26:22 +0000 (19:26 -0500)
committerDavid Bremner <david@tethera.net>
Mon, 15 Feb 2021 20:32:31 +0000 (16:32 -0400)
This is the last bit of "python" left in the notmuch codebase.

https://www.python.org/dev/peps/pep-0394/#recommendation encourages
"third-party distributors" to use more-specific shebang lines.  I'm
not certain that the notmuch project itself is a "third-party
contributor" but I think this is a safe way to encourage people to use
python3 when they're developing notmuch.

We already have python3 explicitly elsewhere in the codebase for
developers (in nmbug).

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
bindings/python/setup.py
test/json_check_nodes.py

index d986f0c6651ee14ef9b4607b7668b82acde7fbdc..6308b9f933e8c9733025b79255c6151c1cc29e37 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This file is part of notmuch.
index 17403c57d1b9b45a8d5c75ed871334ff551dd6e3..fd8f16073309f7777f0877f68670a8e1be58a051 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import re
 import sys
 import json