Initial commit
This commit is contained in:
34
python/pyproject.toml
Normal file
34
python/pyproject.toml
Normal file
@@ -0,0 +1,34 @@
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "my-app"
|
||||
version = "0.1.0"
|
||||
description = "Python development environment"
|
||||
requires-python = ">=3.11"
|
||||
#readme = "README.md"
|
||||
#license = {text = "MIT"}
|
||||
# authors = [
|
||||
# {name = "Martin Pander", email = "martin.pander@knowtion.de"},
|
||||
# ]
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
my-app = "my_app.main:main"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/my_app"]
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
include = ["src"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py311"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I"] # Error, Pyflakes, Isort
|
||||
dependencies = []
|
||||
|
||||
Reference in New Issue
Block a user