Skip to content

Commit dbc0d1f

Browse files
committed
build: 🔧 set template as a src/ layout
1 parent 3c104c3 commit dbc0d1f

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

pyproject.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.poetry]
2-
name = "NAME"
2+
name = "template-python-package"
33
version = "0.0.1"
44
description = ""
55
authors = [
@@ -18,7 +18,6 @@ readme = "README.md"
1818
homepage = "https://NAME.seedcase-project.org"
1919
repository = "https://github.com/seedcase-project/REPO"
2020
license = "MIT"
21-
packages = [{include = "NAME"}]
2221

2322
[tool.poetry.urls]
2423
"Bug Tracker" = "https://github.com/seedcase-project/REPO/issues"
@@ -35,3 +34,11 @@ ruff = "^0.6.2"
3534
[build-system]
3635
requires = ["poetry-core"]
3736
build-backend = "poetry.core.masonry.api"
37+
38+
[tool.pytest.ini_options]
39+
addopts = [
40+
# A short traceback mode to make it easier to view
41+
"--tb=short",
42+
# Use the package in `src/`
43+
"--import-mode=importlib",
44+
]

src/PACKAGE-NAME/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)