|
1 | | -[build-system] |
2 | | -requires = ["poetry-core >= 1.0.0"] |
3 | | -build-backend = "poetry.core.masonry.api" |
4 | | - |
5 | | -[tool.poetry] |
| 1 | +[project] |
6 | 2 | name = "my_fibonacci" |
7 | 3 | version = "0.0.0" |
8 | | -description = "A starter python module for generating a Fibonacci sequence." |
9 | | -license = "Unlicense" |
| 4 | +dependencies = [] |
| 5 | +requires-python = ">=3.10" |
10 | 6 | authors = [ |
11 | | - "Alfi Maulana <alfi.maulana.f@gmail.com>", |
| 7 | + {name = "Alfi Maulana", email = "alfi.maulana.f@gmail.com"}, |
12 | 8 | ] |
| 9 | +description = "A starter python module for generating a Fibonacci sequence." |
13 | 10 | readme = "README.md" |
14 | | -repository = "https://github.com/threeal/python-starter" |
| 11 | +license = "Unlicense" |
15 | 12 | keywords = ["python", "starter", "fibonacci"] |
16 | 13 | classifiers = [ |
17 | 14 | "Development Status :: 1 - Planning", |
18 | 15 | "Intended Audience :: Developers", |
19 | | - "License :: OSI Approved :: The Unlicense (Unlicense)", |
20 | 16 | "Operating System :: OS Independent", |
21 | 17 | "Programming Language :: Python :: 3 :: Only", |
22 | | - "Topic :: Software Development :: Libraries :: Python Modules" |
| 18 | + "Topic :: Software Development :: Libraries :: Python Modules", |
23 | 19 | ] |
24 | | -packages = [ |
25 | | - { include = "my_fibonacci", from = "lib" } |
26 | | -] |
27 | | - |
28 | | -[tool.poetry.dependencies] |
29 | | -python = "^3.10" |
30 | 20 |
|
31 | | -[tool.poetry.group.dev] |
32 | | -optional = true |
| 21 | +[project.scripts] |
| 22 | +my_fibonacci = "my_fibonacci.__main__:main" |
33 | 23 |
|
34 | | -[tool.poetry.group.dev.dependencies] |
35 | | -lefthook = "^1.11.14" |
36 | | -pytest = "^8.4.0" |
37 | | -pytest-cov = "^6.2.1" |
38 | | -ruff = "^0.11.13" |
| 24 | +[project.urls] |
| 25 | +repository = "https://github.com/threeal/python-starter.git" |
| 26 | +issues = "https://github.com/threeal/python-starter/issues" |
39 | 27 |
|
40 | | -[tool.poetry.scripts] |
41 | | -my_fibonacci = "my_fibonacci.__main__:main" |
| 28 | +[build-system] |
| 29 | +requires = ["hatchling"] |
| 30 | +build-backend = "hatchling.build" |
| 31 | + |
| 32 | +[dependency-groups] |
| 33 | +dev = [ |
| 34 | + "lefthook>=1.11.14", |
| 35 | + "pytest>=8.4.0", |
| 36 | + "pytest-cov>=6.2.1", |
| 37 | + "ruff>=0.11.13", |
| 38 | +] |
42 | 39 |
|
43 | 40 | [tool.coverage.report] |
44 | 41 | fail_under = 100 |
|
0 commit comments