-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(package): Update pyproject.toml for poetry 2.0 in project and t…
…emplate (#333)
- Loading branch information
1 parent
72f0bf2
commit ffa46e5
Showing
8 changed files
with
1,241 additions
and
927 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,37 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "scicookie" | ||
version = "0.11.0" # semantic-release | ||
description = "Cookiecutter template for a Python package" | ||
readme = "docs/description.md" | ||
authors = ["Ivan Ogasawara <[email protected]>"] | ||
authors = [ | ||
{name = "Ivan Ogasawara", email = "[email protected]"} | ||
] | ||
license = "BSD-3-Clause" | ||
requires-python = ">=3.9,<4" | ||
dependencies = [ | ||
"cookiecutter >= 2.6.0", | ||
"colorama >= 0.4.6", | ||
"inquirer >= 3.1.3", | ||
"pyyaml >= 6.0.1", | ||
"nodejs-wheel >= 20.13.0-1", | ||
"pre-commit-hooks >= 0.4.6" | ||
] | ||
|
||
[project.scripts] | ||
"scicookie" = "scicookie.__main__:app" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=2", "poetry>=2"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry] | ||
include = [ | ||
{path = "src/scicookie/cookiecutter.json"}, | ||
{path = "src/scicookie/{{cookiecutter.project_slug}}"}, | ||
{path = "src/scicookie/hooks"}, | ||
{path = "src/scicookie/profiles"}, | ||
] | ||
|
||
[tool.poetry.scripts] | ||
"scicookie" = "scicookie.__main__:app" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.9,<4" | ||
cookiecutter = "2.6.0" | ||
colorama = ">=0.4.6" | ||
inquirer = ">=3.1.3" | ||
pyyaml = ">=6.0.1" | ||
nodejs-wheel = ">=20.13.0-1" | ||
pre-commit-hooks = ">=0.4.6" | ||
|
||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = ">=7" | ||
pre-commit = ">=3" | ||
|
@@ -40,14 +47,10 @@ mkdocs-material = ">=8.3.9" | |
mkdocstrings-python = ">=0.7.1" | ||
mkdocstrings-python-legacy = ">=0.2.3" | ||
pymdown-extensions = ">=9.5" | ||
makim = "1.19.0" | ||
makim = "1.20.0" | ||
pexpect = ">=4.9.0" | ||
ensureconda = ">=1.4" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.mypy] | ||
python_version = "3.9" | ||
no_strict_optional = false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters