Skip to content

Commit 988d1bb

Browse files
committed
add packages
1 parent 0098f95 commit 988d1bb

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed

brain_games/modele.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def greet():
2+
print('Welcome to the Brain Games!')

brain_games/scripts/brain_games.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from brain_games.modele import greet
2+
3+
def main():
4+
greet()
5+
6+
7+
if __name__ == '__main__':
8+
9+
main()

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,13 @@ description = "Add your description here"
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = []
8+
9+
[build-system]
10+
requires = ['hatchling']
11+
build-backend = 'hatchling.build'
12+
13+
[tool.hatch.build.target.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)