Skip to content

Commit cb0e92c

Browse files
committed
add main script
1 parent 9208594 commit cb0e92c

File tree

8 files changed

+30
-0
lines changed

8 files changed

+30
-0
lines changed

brain_games/__init__.py

Whitespace-only changes.
151 Bytes
Binary file not shown.

brain_games/scripts/__init__.py

Whitespace-only changes.
159 Bytes
Binary file not shown.
385 Bytes
Binary file not shown.

brain_games/scripts/brain_games.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
def main():
2+
print('Welcome to the Brain Games!')
3+
4+
if __name__ == '__main__':
5+
main()

pyproject.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[project]
2+
name = "hexlet-code"
3+
version = "0.1.0"
4+
description = "Add your description here"
5+
readme = "README.md"
6+
requires-python = ">=3.12"
7+
dependencies = []
8+
9+
[build-system]
10+
requires = ["hatchling"]
11+
build-backend = "hatchling.build"
12+
13+
[tool.hatch.build.targets.wheel]
14+
packages = ["brain_games"]
15+
16+
[project.scripts]
17+
brain-games = "brain_games.scripts.brain_games:main"

uv.lock

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)