Skip to content

Commit

Permalink
fix: changed python version to python3 in CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Feb 18, 2024
1 parent efd41b6 commit c5b6156
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 43 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ test-pyo3:
- rustup toolchain install $RUST_VERSION
- rustup override set $RUST_VERSION
- rustc --version
- python setup.py test
- python3 setup.py test

deploy-netlify-preview:
stage: deploy
Expand Down
3 changes: 0 additions & 3 deletions examples/python/bench.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

from time import time
from boytacean import GameBoy, CPU_FREQ
from os.path import dirname, realpath, join
Expand Down
3 changes: 0 additions & 3 deletions examples/python/pocket.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

from time import time
from boytacean import GameBoy, VISUAL_FREQ
from os.path import dirname, realpath, join, splitext, basename
Expand Down
3 changes: 0 additions & 3 deletions examples/python/pocket_pyboy.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

from time import time
from pyboy import PyBoy
from os.path import dirname, realpath, join, splitext, basename
Expand Down
3 changes: 0 additions & 3 deletions examples/python/pocket_pyboy_iface.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

from time import time
from boytacean import VISUAL_FREQ
from boytacean.pyboy import PyBoy
Expand Down
3 changes: 0 additions & 3 deletions examples/python/pyboy/gamewrapper_tetris.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

import os
import sys
from typing import cast
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

import os
import sys

Expand Down
3 changes: 0 additions & 3 deletions src/python/boytacean/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

from .gb import GameBoyMode, GameBoy
from .palettes import PALETTES
from .video import VideoCapture
Expand Down
3 changes: 0 additions & 3 deletions src/python/boytacean/boytacean.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

__version__: str
COMPILATION_DATE: str
COMPILATION_TIME: str
Expand Down
3 changes: 0 additions & 3 deletions src/python/boytacean/gb.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

from enum import Enum
from contextlib import contextmanager
from typing import Any, Iterable, Union, cast
Expand Down
3 changes: 0 additions & 3 deletions src/python/boytacean/graphics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

from math import ceil
from typing import Union
from sdl2 import (
Expand Down
3 changes: 0 additions & 3 deletions src/python/boytacean/palettes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

BASIC_PALETTE = "ffffff,c0c0c0,606060,000000"
HOGWARDS_PALETTE = "b6a571,8b7e56,554d35,201d13"
CHRISTMAS_PALETTE = "e8e7df,8bab95,9e5c5e,534d57"
Expand Down
3 changes: 0 additions & 3 deletions src/python/boytacean/pyboy.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

from enum import Enum
from sys import modules
from typing import IO, Any
Expand Down
3 changes: 0 additions & 3 deletions src/python/boytacean/test/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

import unittest

from os.path import dirname, realpath, join
Expand Down
3 changes: 0 additions & 3 deletions src/python/boytacean/video.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

from os import remove
from glob import glob
from math import ceil
Expand Down

0 comments on commit c5b6156

Please sign in to comment.