Skip to content

Commit a3eab3c

Browse files
committed
project initialization
1 parent 15f67f9 commit a3eab3c

File tree

11 files changed

+41
-0
lines changed

11 files changed

+41
-0
lines changed

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"makefile.configureOnOpen": false
3+
}

brain_games/__init__.py

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

brain_games/scripts/__init__.py

Whitespace-only changes.
160 Bytes
Binary file not shown.
386 Bytes
Binary file not shown.

brain_games/scripts/brain_games.py

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

main.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
def main():
2+
print("Hello from python-project-49!")
3+
4+
5+
if __name__ == "__main__":
6+
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"

0 commit comments

Comments
 (0)