chore: template usage
This commit is contained in:
@@ -1,11 +1,3 @@
|
||||
[](https://git.klemek.fr/klemek/python-template/actions?workflow=lint.yml) [](https://git.klemek.fr/klemek/python-template/actions?workflow=test.yml)
|
||||
[](https://git.klemek.fr/klemek/cool-domain/actions?workflow=lint.yml) [](https://git.klemek.fr/klemek/cool-domain/actions?workflow=test.yml)
|
||||
|
||||
|
||||
# Python Template
|
||||
|
||||
## Use this template
|
||||
|
||||
- [ ] 1. rename foler `sample` to match project
|
||||
- [ ] 2. rename project in `pyproject.toml`
|
||||
- [ ] 3. update `README.md`
|
||||
- [ ] 4. enjoy
|
||||
TODO
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
[project]
|
||||
name = "sample" # TODO: 2. rename project
|
||||
name = "cool-domain"
|
||||
version = "0.0.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
@@ -7,7 +7,7 @@ requires-python = ">=3.14"
|
||||
dependencies = []
|
||||
|
||||
[project.scripts]
|
||||
sample = "sample.__main__:main" # TODO: 2. rename project
|
||||
cool-domain = "cool_domain.__main__:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["uv_build>=0.11.7,<0.12"]
|
||||
@@ -15,7 +15,7 @@ build-backend = "uv_build"
|
||||
|
||||
[tool.uv.build-backend]
|
||||
module-root = ""
|
||||
module-name = "sample" # TODO: 2. rename project
|
||||
module-name = "cool_domain"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
|
||||
Reference in New Issue
Block a user