pylibtemplate 0.0.2__py3-none-any.whl → 0.0.4__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.
- pylibtemplate/__init__.py +4 -4
- pylibtemplate/version.py +2 -2
- {pylibtemplate-0.0.2.dist-info → pylibtemplate-0.0.4.dist-info}/METADATA +1 -1
- pylibtemplate-0.0.4.dist-info/RECORD +8 -0
- pylibtemplate-0.0.2.dist-info/RECORD +0 -8
- {pylibtemplate-0.0.2.dist-info → pylibtemplate-0.0.4.dist-info}/WHEEL +0 -0
- {pylibtemplate-0.0.2.dist-info → pylibtemplate-0.0.4.dist-info}/entry_points.txt +0 -0
- {pylibtemplate-0.0.2.dist-info → pylibtemplate-0.0.4.dist-info}/licenses/LICENSE +0 -0
- {pylibtemplate-0.0.2.dist-info → pylibtemplate-0.0.4.dist-info}/top_level.txt +0 -0
pylibtemplate/__init__.py
CHANGED
@@ -388,7 +388,7 @@ def _clone_pylibtemplate_repo(path_to_directory_to_contain_new_repo,
|
|
388
388
|
|
389
389
|
cloning_options = (tuple()
|
390
390
|
if (tag is None)
|
391
|
-
else ("--depth
|
391
|
+
else ("--depth 1", "--branch {}".format(tag)))
|
392
392
|
|
393
393
|
kwargs = {"url": github_url,
|
394
394
|
"to_path": path_to_new_repo,
|
@@ -428,7 +428,7 @@ def _generate_path_to_new_repo(path_to_directory_to_contain_new_repo,
|
|
428
428
|
def _get_pylibtemplate_tag():
|
429
429
|
pattern = r"[0-9]\.[0-9]\.[0-9]"
|
430
430
|
pylibtemplate_version = __version__
|
431
|
-
pylibtemplate_tag = ("v{}".format(
|
431
|
+
pylibtemplate_tag = ("v{}".format(pylibtemplate_version)
|
432
432
|
if re.fullmatch(pattern, pylibtemplate_version)
|
433
433
|
else None)
|
434
434
|
|
@@ -700,8 +700,8 @@ def _apply_text_wrapping_to_line_set_of_md_or_rst_file(line_set_to_modify):
|
|
700
700
|
modified_line_set = line_set_to_modify.copy()
|
701
701
|
|
702
702
|
pattern_1 = (r"((\[!\[)|(\s+)|(\*\ )|(\-\ \`)|(\.\.\ )|(\{\%)"
|
703
|
-
r"|(\{\{)|(##)|(#\ \-)|(----+)|(====+)).*")
|
704
|
-
pattern_2 = r"((----+)|(====+))"
|
703
|
+
r"|(\{\{)|(##)|(#\ \-)|(----+)|(====+)|(~~~~+)).*")
|
704
|
+
pattern_2 = r"((----+)|(====+)|(~~~~+))"
|
705
705
|
|
706
706
|
end_of_file_has_not_been_reached = True
|
707
707
|
line_idx = 1
|
pylibtemplate/version.py
CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
28
28
|
commit_id: COMMIT_ID
|
29
29
|
__commit_id__: COMMIT_ID
|
30
30
|
|
31
|
-
__version__ = version = '0.0.
|
32
|
-
__version_tuple__ = version_tuple = (0, 0,
|
31
|
+
__version__ = version = '0.0.4'
|
32
|
+
__version_tuple__ = version_tuple = (0, 0, 4)
|
33
33
|
|
34
34
|
__commit_id__ = commit_id = None
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pylibtemplate
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.4
|
4
4
|
Summary: A Python library that generates `git` repository templates for building Python libraries that are suitable for publication on PyPI.
|
5
5
|
Author-email: Matthew Fitzpatrick <matthew.rc.fitzpatrick@gmail.com>
|
6
6
|
Project-URL: Homepage, https://mrfitzpa.github.io/pylibtemplate
|
@@ -0,0 +1,8 @@
|
|
1
|
+
pylibtemplate/__init__.py,sha256=IJ_iFADR039MwYnExVwYvIwVJ-JO3kNRBuHox7QKszE,32098
|
2
|
+
pylibtemplate/version.py,sha256=QlXZ5JTjE_pgpDaeHk0GTExkc75xUZFmd0hA7kGYCJ0,704
|
3
|
+
pylibtemplate-0.0.4.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
4
|
+
pylibtemplate-0.0.4.dist-info/METADATA,sha256=LtDkj8i4q1MPSOfnL2gdcqch1RHQhZMMC73mQ7dFq80,16821
|
5
|
+
pylibtemplate-0.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
6
|
+
pylibtemplate-0.0.4.dist-info/entry_points.txt,sha256=lX33RgEzs9UByPT90FvYMpPshWLJcNu4mShQjx_Vi2w,77
|
7
|
+
pylibtemplate-0.0.4.dist-info/top_level.txt,sha256=pY0rl_JGpeTL6KwNkwptEPpv7hNUtxA7tI3PilhAcZw,14
|
8
|
+
pylibtemplate-0.0.4.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
pylibtemplate/__init__.py,sha256=B8SJbDQpmbqgYmCxjBczOpGcXP-1yxvAluf1ANuo8LM,32094
|
2
|
-
pylibtemplate/version.py,sha256=huLsL1iGeXWQKZ8bjwDdIWC7JOkj3wnzBh-HFMZl1PY,704
|
3
|
-
pylibtemplate-0.0.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
4
|
-
pylibtemplate-0.0.2.dist-info/METADATA,sha256=gwAhZY37QrGt72gU8hS2r0ZCMXitiZPsJZxESgnEO3g,16821
|
5
|
-
pylibtemplate-0.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
6
|
-
pylibtemplate-0.0.2.dist-info/entry_points.txt,sha256=lX33RgEzs9UByPT90FvYMpPshWLJcNu4mShQjx_Vi2w,77
|
7
|
-
pylibtemplate-0.0.2.dist-info/top_level.txt,sha256=pY0rl_JGpeTL6KwNkwptEPpv7hNUtxA7tI3PilhAcZw,14
|
8
|
-
pylibtemplate-0.0.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|