Skip to content

Commit

Permalink
[pxd] --version
Browse files Browse the repository at this point in the history
(Can't test because building is broken on my laptop)
  • Loading branch information
shish committed Sep 30, 2023
1 parent 7a6cfef commit c94bea7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pxd/py_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ else
python3 -m venv $BUILDDIR
$BUILDDIR/bin/pip install pysdl2 pysdl2-dll mypy black Cython==3.0.0a11
fi
echo "Using Python3 in $BUILDDIR"
#echo "Using Python3 in $BUILDDIR"
PATH="$BUILDDIR/bin:$PATH"
fi
fi
2 changes: 2 additions & 0 deletions pxd/src/args.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import typing as t
import argparse
import sys


def parse_args(args: t.List[str]) -> argparse.Namespace:
Expand All @@ -14,6 +15,7 @@ def parse_args(args: t.List[str]) -> argparse.Namespace:
parser.add_argument("-H", "--headless", action="store_true", default=False)
parser.add_argument("-S", "--silent", action="store_true", default=False)
parser.add_argument("-t", "--turbo", action="store_true", default=False)
parser.add_argument("-v", "--version", action="version", version=sys.version)
parser.add_argument(
"-f",
"--frames",
Expand Down

0 comments on commit c94bea7

Please sign in to comment.