update pyproject.toml

This commit is contained in:
Sina Atalay 2024-02-19 18:54:55 +01:00
parent 065af5a680
commit 384a6a29e9
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
# To build RenderCV, we need to specify which build package we want to use. There are
# many build packages like `setuptools`, `flit`, `poetry`, `hatchling`, etc. We will use
# `hatchling`.
requires = ["hatchling"] # Our dependency to build RenderCV
requires = ["hatchling==1.21.1"] # Our dependency to build RenderCV
# Python has a standard object format called build-backend object. Python standard asks
# this object to have some specific methods that do a specific job. For example, it
@ -39,7 +39,6 @@ include = ["/README.md", "/rendercv"]
# We use tinytex-release as a git submodule, so it's a seperate repository. We don't
# want to ship all the files from that repository with RenderCV.
exclude = [
"/rendercv/tinytex-release/recycle_bin",
"/rendercv/tinytex-release/minimize_tinytex_for_rendercv.py",
"/rendercv/tinytex-release/.gitignore",
]
@ -88,6 +87,7 @@ Source = 'https://github.com/sinaatalay/rendercv'
[project.scripts]
# Here, we specify the entry points of RenderCV.
# See https://packaging.python.org/en/latest/specifications/entry-points/#entry-points
# See https://hatch.pypa.io/latest/config/metadata/#cli
# The key and value below mean this: If someone installs RenderCV, then running
# `rendercv` in the terminal will run the function `app` in the module `__main__` in the