Skip to content

Commit d35d54b

Browse files
committed
feat: Update pyproject.toml and uv.lock for enhanced project metadata and editable source
1 parent cb67792 commit d35d54b

4 files changed

Lines changed: 51 additions & 8 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
applyTo: "**"
3+
---
4+
5+
# Pyproject Documentation
6+
7+
Refer to the official documentation for details on configuring `pyproject.toml` files in Python projects.
8+
9+
## Documentation
10+
11+
- **Python Packaging User Guide - pyproject.toml:** https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
12+
- **PEP 518 - Specifying Minimum Build System Requirements for Python Projects:** https://peps.python.org/pep-0518/
13+
- **PEP 621 - Storing Project Metadata in pyproject.toml:** https://peps.python.org/pep-0621/
14+
- **PEP 660 - Editable installs via pyproject.toml:** https://peps.python.org/pep-0660/
15+
16+
- **Customize pytest configuration via `pyproject.toml`:** https://docs.pytest.org/en/stable/reference/customize.html

pyproject.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,49 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0"]
3+
build-backend = "setuptools.build_meta"
4+
15
[project]
26
name = "copier-python-uv"
37
version = "0.1.0"
48
description = "Copier template to bootstrap a Python package with uv and basic configuration"
59
readme = "README.md"
610
requires-python = ">=3.10"
11+
license = "MIT"
12+
license-files = ["LICENSE"]
13+
authors = [
14+
{name = "Patryk Kubiak", email = "8299306+kpatryk@users.noreply.github.com"}
15+
]
16+
keywords = ["copier", "template", "python", "uv", "packaging"]
17+
classifiers = [
18+
"Development Status :: 4 - Beta",
19+
"Intended Audience :: Developers",
20+
"Operating System :: OS Independent",
21+
"Programming Language :: Python",
22+
"Programming Language :: Python :: 3",
23+
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
26+
"Programming Language :: Python :: 3.13",
27+
"Topic :: Software Development :: Libraries :: Python Modules",
28+
]
729
dependencies = [
830
"copier>=9.11.0",
931
]
1032

33+
[project.urls]
34+
Homepage = "https://github.com/patryk-gpl/copier-python-uv"
35+
Repository = "https://github.com/patryk-gpl/copier-python-uv.git"
36+
"Bug Tracker" = "https://github.com/patryk-gpl/copier-python-uv/issues"
37+
1138
[dependency-groups]
1239
dev = [
1340
"pytest>=9.0.2",
1441
"pytest-cov>=7.0.0",
1542
]
43+
44+
[tool.pytest.ini_options]
45+
testpaths = ["tests"]
46+
addopts = "--durations=5 --durations-min=0.0 --tb=short"
47+
filterwarnings = [
48+
"ignore:Dirty template changes included automatically:copier._vcs.DirtyLocalWarning",
49+
]

pytest.ini

Lines changed: 0 additions & 7 deletions
This file was deleted.

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)