summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-09 02:33:53 +0300
committerViljami Ilola <+@hix.fi>2024-04-09 02:33:53 +0300
commitc8edef5a996da11b1629905d0c37c4b223bcf690 (patch)
tree00d0f0f3c09a4b5e2f061a3337668392de09abb8
parent7a97b9c7a779aa7739e743770559ca7146ba6df3 (diff)
__main__.py for python -m compatibilityv0.3b3
-rw-r--r--pyproject.toml6
-rw-r--r--src/sliceitoff/__main__.py4
2 files changed, 6 insertions, 4 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 1ce463f..65bbbe3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,13 +1,11 @@
[tool.poetry]
name = "sliceitoff"
-version = "0.3-beta.1"
+version = "0.3-beta.3"
description = "Arcade game where one slices play area off avoiding enemies."
repository = "https://git.hix.fi/sliceitoff.git/"
authors = ["Viljami Ilola <+@hix.fi>"]
readme = "README.txt"
-packages = [
- {include = "sliceitoff", from = "src"},
-]
+packages = [{include = "sliceitoff", from = "src"}]
[tool.poetry.dependencies]
python = "^3.10"
diff --git a/src/sliceitoff/__main__.py b/src/sliceitoff/__main__.py
new file mode 100644
index 0000000..c50fa05
--- /dev/null
+++ b/src/sliceitoff/__main__.py
@@ -0,0 +1,4 @@
+""" __main__ - if package is run as module this is launched """
+from sliceitoff.main import main
+
+main()