copier-python 0.9.0__py3-none-any.whl → 0.11.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
copier_python/repo.py CHANGED
@@ -3,6 +3,7 @@ from __future__ import annotations
3
3
  import os
4
4
  import re
5
5
  import subprocess
6
+ import sys
6
7
  import tempfile
7
8
  from contextlib import contextmanager, suppress
8
9
  from dataclasses import InitVar, dataclass, field
@@ -14,7 +15,11 @@ import yaml
14
15
  from rich import print # noqa: A004
15
16
  from rich.panel import Panel
16
17
  from rich.text import Text
17
- from typing_extensions import Self
18
+
19
+ if sys.version_info >= (3, 11):
20
+ from typing import Self
21
+ else:
22
+ from typing_extensions import Self
18
23
 
19
24
  if TYPE_CHECKING:
20
25
  from collections.abc import Generator, Sequence
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: copier-python
3
- Version: 0.9.0
3
+ Version: 0.11.0
4
4
  Summary: Copier template for Python projects with modern tooling
5
5
  Project-URL: Homepage, https://smkent.github.io/copier-python
6
6
  Project-URL: Repository, https://github.com/smkent/copier-python
@@ -23,7 +23,9 @@ Classifier: Topic :: Utilities
23
23
  Classifier: Typing :: Typed
24
24
  Requires-Python: >=3.10
25
25
  Requires-Dist: pyyaml>=6
26
+ Requires-Dist: rich>=15
26
27
  Requires-Dist: typer>=0.9
28
+ Requires-Dist: typing-extensions>=4.1; python_version < '3.12'
27
29
  Description-Content-Type: text/markdown
28
30
 
29
31
  # copier-python
@@ -0,0 +1,10 @@
1
+ copier_python/__init__.py,sha256=FxuK5Dek123GsD9rxpsXCP4FjxI7unpoPYe6Mto1Rjk,289
2
+ copier_python/__main__.py,sha256=DhAwkZmfhMa40m91IgDcVIDTjjaiT1hFHrZ7AqzJdVY,3560
3
+ copier_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ copier_python/repo.py,sha256=_gZaTNsAabSik4J7O5H3W6AzvudL2OO_B_1q1owo-Ms,4869
5
+ copier_python/update.py,sha256=PH_qP1zUHgNSAtUL0WnZSaweLIJ4rGXbyfayIv0NWUs,2433
6
+ copier_python-0.11.0.dist-info/METADATA,sha256=MIlY6i5hRSkao6RWCdDE-B7QOfAkH84zgscivI9kt4E,4688
7
+ copier_python-0.11.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
8
+ copier_python-0.11.0.dist-info/entry_points.txt,sha256=HjthcI_ZBjVT8uC8vjlk8m4XWpmR9_b89rpAWjzFZvo,62
9
+ copier_python-0.11.0.dist-info/licenses/LICENSE,sha256=UHHRyYuAwaR1EBittWk49EmWR0c7MIIMBXt_L_auZtQ,1069
10
+ copier_python-0.11.0.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- copier_python/__init__.py,sha256=FxuK5Dek123GsD9rxpsXCP4FjxI7unpoPYe6Mto1Rjk,289
2
- copier_python/__main__.py,sha256=DhAwkZmfhMa40m91IgDcVIDTjjaiT1hFHrZ7AqzJdVY,3560
3
- copier_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- copier_python/repo.py,sha256=rFAFZ_roP5juWoxVzagJq8UQkhZijIftHeJC0EQlihk,4787
5
- copier_python/update.py,sha256=PH_qP1zUHgNSAtUL0WnZSaweLIJ4rGXbyfayIv0NWUs,2433
6
- copier_python-0.9.0.dist-info/METADATA,sha256=UQf-grCwkpg0EE8trREiIp7NvHXNC29tllz2EYQVpTU,4600
7
- copier_python-0.9.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
8
- copier_python-0.9.0.dist-info/entry_points.txt,sha256=HjthcI_ZBjVT8uC8vjlk8m4XWpmR9_b89rpAWjzFZvo,62
9
- copier_python-0.9.0.dist-info/licenses/LICENSE,sha256=UHHRyYuAwaR1EBittWk49EmWR0c7MIIMBXt_L_auZtQ,1069
10
- copier_python-0.9.0.dist-info/RECORD,,