Skip to content

Commit

Permalink
[REF] pyproject.toml: set package-mode = false
Browse files Browse the repository at this point in the history
Fixes
```
No dependencies to install or update

Installing the current project: oca-addons-repo-template (0.0.0)

Error: The current project could not be installed: No file/folder found for package oca-addons-repo-template
If you do not want to install the current project use --no-root.
If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file.
If you did intend to install the current project, you may need to set `packages` in your pyproject.toml file.
```

during `poetry install`
  • Loading branch information
StefanRijnhart authored and yajo committed Jan 14, 2025
1 parent 21fa28f commit 5e20ee5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.0.0" # Just a placeholder; the real version is the git tag
description = "Template for OCA addon repos"
authors = ["Odoo Community Association (OCA)"]
license = "MIT"
package-mode = false

[tool.poetry.dependencies]
python = "^3.9.0"
Expand Down

0 comments on commit 5e20ee5

Please sign in to comment.