Skip to content

Commit

Permalink
Update Python shebangs
Browse files Browse the repository at this point in the history
  • Loading branch information
HexDecimal committed Jan 16, 2024
1 parent 392b0ce commit 153ce40
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion build_libtcod.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""Parse and compile libtcod and SDL sources for CFFI."""
from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion build_sdl.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""Build script to parse SDL headers and generate CFFI bindings."""
from __future__ import annotations

Expand Down
4 changes: 2 additions & 2 deletions docs/tcod/getting-started.rst
Expand Up @@ -21,7 +21,7 @@ integer increments.

Example::

#!/usr/bin/env python3
#!/usr/bin/env python
# Make sure 'dejavu10x10_gs_tc.png' is in the same directory as this script.
import tcod.console
import tcod.context
Expand Down Expand Up @@ -89,7 +89,7 @@ clearing the console every frame and replacing it only on resizing the window.

Example::

#!/usr/bin/env python3
#!/usr/bin/env python
import tcod.context
import tcod.event

Expand Down
2 changes: 1 addition & 1 deletion examples/audio_tone.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""Shows how to use tcod.sdl.audio to play a custom-made audio stream.
Opens an audio device using SDL and plays a square wave for 1 second.
Expand Down
2 changes: 1 addition & 1 deletion examples/cavegen.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""A basic cellular automata cave generation example using SciPy.
http://www.roguebasin.com/index.php?title=Cellular_Automata_Method_for_Generating_Random_Cave-Like_Levels
Expand Down
2 changes: 1 addition & 1 deletion examples/distribution/PyInstaller/main.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# To the extent possible under law, the libtcod maintainers have waived all
# copyright and related or neighboring rights for the "hello world" PyInstaller
# example script. This work is published from: United States.
Expand Down
2 changes: 1 addition & 1 deletion examples/distribution/cx_Freeze/main.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""cx_Freeze main script example."""
import tcod.console
import tcod.context
Expand Down
2 changes: 1 addition & 1 deletion examples/distribution/cx_Freeze/setup.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
import sys

from cx_Freeze import Executable, setup # type: ignore
Expand Down
2 changes: 1 addition & 1 deletion examples/eventget.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# To the extent possible under law, the libtcod maintainers have waived all
# copyright and related or neighboring rights for this example. This work is
# published from: United States.
Expand Down
2 changes: 1 addition & 1 deletion examples/framerate.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# To the extent possible under law, the libtcod maintainers have waived all
# copyright and related or neighboring rights for this example. This work is
# published from: United States.
Expand Down
2 changes: 1 addition & 1 deletion examples/samples_tcod.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""This code demonstrates various usages of python-tcod."""
# To the extent possible under law, the libtcod maintainers have waived all
# copyright and related or neighboring rights to these samples.
Expand Down
2 changes: 1 addition & 1 deletion examples/thread_jobs.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# To the extent possible under law, the libtcod maintainers have waived all
# copyright and related or neighboring rights for this example. This work is
# published from: United States.
Expand Down
2 changes: 1 addition & 1 deletion examples/ttf.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""A TrueType Font example using the FreeType library.
You will need to get this external library from PyPI:
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_charmap_table.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""This script is used to generate the tables for `charmap-reference.rst`.
Uses the tabulate module from PyPI.
Expand Down
2 changes: 1 addition & 1 deletion scripts/get_release_description.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""Print the description used for GitHub Releases."""
from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion scripts/tag_release.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""Automate tagged releases of this project."""
from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion setup.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""Python-tcod setup script."""
from __future__ import annotations

Expand Down

0 comments on commit 153ce40

Please sign in to comment.