11[build-system ]
2- requires = [" setuptools>=61 " , " wheel " ]
3- build-backend = " setuptools.build_meta "
2+ requires = [" hatchling >= 1.26 " ]
3+ build-backend = " hatchling.build "
44
55[project ]
66name = " python-project-template"
@@ -20,6 +20,9 @@ classifiers = [
2020]
2121
2222
23+ [project .urls ]
24+ Homepage = " https://github.com/andreascaglioni/python-project-template"
25+
2326[tool .pytest .ini_options ]
2427testpaths = [" tests" ]
2528addopts = [" -q" ," --strict-markers" , " --disable-warnings" , " --cov=src" , " --cov-report=term-missing" , " --cov-fail-under=85" ]
@@ -28,8 +31,7 @@ markers = [
2831 " slow: marks slow tests" ,
2932]
3033
31-
32- # --- Optional dependencies for development, docs, etc.
34+ # --- Optional dependencies for development. Run pip install -e ".[dev]"
3335[project .optional-dependencies ]
3436dev = [
3537 " pytest" ,
@@ -40,7 +42,7 @@ dev = [
4042 " mypy" ,
4143]
4244
43- # list of pip-installable package names. Install running : pip install -e ".[docs]"
45+ # --- Optional dependencies for compiling the documentation. Run : pip install -e ".[docs]"
4446docs = [
4547 " sphinx>=7.0" , # provides sphinx.ext.* (autodoc, napoleon, autosummary, viewcode, ...)
4648 " pydata-sphinx-theme" , # theme used in docs/conf.py (pydata_sphinx_theme)
@@ -49,12 +51,3 @@ docs = [
4951 " sphinx-copybutton" , # provides extension `sphinx_copybutton`
5052 " sphinxcontrib-spelling" , # spell-checking documentation
5153]
52-
53-
54- # --- SetUpTool options
55- [tool .setuptools ]
56- package-dir = {"" = " src" }
57-
58- [tool .setuptools .packages .find ]
59- where = [" src" ]
60- include = [" python_project_template*" ]
0 commit comments