mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
py3: Fix up (almost) all script invocations to rely on shebangs.
This follows up on 207cf6302 from last year to clean up cases that
have apparently popped up since then. Invoking the scripts directly
makes a cleaner command line in any case, and moreover is essential
to how we control running a Zulip install as either Python 2 or 3
(soon, how we always ensure it runs as Python 3.)
One exception: we're currently forcing `provision` in dev to run
Python 3, while still running both Python 2 and Python 3 jobs in CI.
We use a non-shebang invocation to do the forcing of Python 3.
This commit is contained in:
3
tools/js-dep-visualizer.py
Normal file → Executable file
3
tools/js-dep-visualizer.py
Normal file → Executable file
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
"""
|
||||
$ python ./tools/js-dep-visualizer.py
|
||||
$ ./tools/js-dep-visualizer.py
|
||||
$ dot -Tpng var/zulip-deps.dot -o var/zulip-deps.png
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user