-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
17 lines (14 loc) · 1 KB
/
pyproject.toml
File metadata and controls
17 lines (14 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[project]
name = "cli_release-me" # This is actually the name of the package on PyPI, whereas the name we import is the name of the folder containing our package.
version = "v1.5.0"
description = "CLI tool for creating git-tagged versions of Python packages where the version has to be specified exactly once."
authors = [{name = "Thomas Bauwens", email = "thomas.bauwens@kuleuven.be"}]
dependencies = []
readme = "README.md"
[project.scripts]
releaseme = "releaseme._cli:_main" # Left-hand side is the name of the command-line utility to create. Right-hand side is which file and which function it runs.
[build-system]
requires = ["hatchling"] # Better than setuptools for separating distribution name from package name. Note: only the machine that builds the package (here, a GitHub server) needs to have hatch installed.
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["./releaseme"] # This is the path where the code is, which also determines by what name you import it (theoretically).