Skip to content

Commit

Permalink
feat: update template for copier>=v9
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoortheen committed Mar 17, 2024
1 parent 0e828b9 commit d963ad5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Install [copier](https://copier.readthedocs.io/en/stable/):
xpip install copier jinja2-time cookiecutter

# OR using pipx (https://pypa.github.io/pipx/):
pipx install copier
pipx install copier>=9
pipx inject copier jinja2-time cookiecutter
```

Create your new xontrib:

```xsh
copier gh:xonsh/xontrib-template .
copier copy --trust gh:xonsh/xontrib-template .
```

## Advent of [PEP-621](https://peps.python.org/pep-0621/)
Expand Down
2 changes: 1 addition & 1 deletion copier.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# see https://copier.readthedocs.io/en/stable/configuring/

### Settings ###
_min_copier_version: "7.0.0"
_min_copier_version: "9.0.0"
_subdirectory: project-template
_templates_suffix: "" # empty suffix will process all files
_jinja_extensions:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ authors = [
license = { text = "MIT" }
requires-python = ">=3.8,<4.0"
dependencies = [
"copier>=7",
"copier>=9",
"cookiecutter<2.0.0,>=1.7.3",
"jinja2-time",
]
Expand Down

0 comments on commit d963ad5

Please sign in to comment.