pylibtemplate 0.0.1__py3-none-any.whl → 0.0.3__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 +3 -3
- pylibtemplate/version.py +2 -2
- {pylibtemplate-0.0.1.dist-info → pylibtemplate-0.0.3.dist-info}/METADATA +1 -1
- pylibtemplate-0.0.3.dist-info/RECORD +8 -0
- pylibtemplate-0.0.1.dist-info/RECORD +0 -8
- {pylibtemplate-0.0.1.dist-info → pylibtemplate-0.0.3.dist-info}/WHEEL +0 -0
- {pylibtemplate-0.0.1.dist-info → pylibtemplate-0.0.3.dist-info}/entry_points.txt +0 -0
- {pylibtemplate-0.0.1.dist-info → pylibtemplate-0.0.3.dist-info}/licenses/LICENSE +0 -0
- {pylibtemplate-0.0.1.dist-info → pylibtemplate-0.0.3.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
|
|
@@ -445,7 +445,7 @@ def _rm_file_subset_of_local_git_repo(path_to_directory_to_contain_new_repo,
|
|
445
445
|
path_to_new_repo = _generate_path_to_new_repo(**kwargs)
|
446
446
|
|
447
447
|
path_to_dir_to_rm = path_to_new_repo + "/.git"
|
448
|
-
shutil.rmtree(path_to_dir_to_rm)
|
448
|
+
shutil.rmtree(path_to_dir_to_rm, ignore_errors=True)
|
449
449
|
|
450
450
|
basename = "how_to_create_a_python_library_using_pylibtemplate.rst"
|
451
451
|
path_to_file_to_rm = path_to_new_repo + "/docs/" + basename
|
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.3'
|
32
|
+
__version_tuple__ = version_tuple = (0, 0, 3)
|
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.3
|
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=5vdqZjvbQ5kh2grlbJf6RO8gysfouxpBH_c9IesfWD4,32082
|
2
|
+
pylibtemplate/version.py,sha256=pBZsQt6tlL02W-ri--X_4JCubpAK7jjCSnOmUp_isjc,704
|
3
|
+
pylibtemplate-0.0.3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
4
|
+
pylibtemplate-0.0.3.dist-info/METADATA,sha256=6mTTWI26oQDSnaAi4DVbOXyvZjqEau6-33pSQNiV8i0,16821
|
5
|
+
pylibtemplate-0.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
6
|
+
pylibtemplate-0.0.3.dist-info/entry_points.txt,sha256=lX33RgEzs9UByPT90FvYMpPshWLJcNu4mShQjx_Vi2w,77
|
7
|
+
pylibtemplate-0.0.3.dist-info/top_level.txt,sha256=pY0rl_JGpeTL6KwNkwptEPpv7hNUtxA7tI3PilhAcZw,14
|
8
|
+
pylibtemplate-0.0.3.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
pylibtemplate/__init__.py,sha256=RHMGVOw9foAG7e9D1MuftXk_Vrx0HOdQ321EwCEKuUg,32074
|
2
|
-
pylibtemplate/version.py,sha256=qf6R-J7-UyuABBo8c0HgaquJ8bejVbf07HodXgwAwgQ,704
|
3
|
-
pylibtemplate-0.0.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
4
|
-
pylibtemplate-0.0.1.dist-info/METADATA,sha256=9dcaXg043cKj8o9sGei5qOEMLD7u1d6iZU6iUa7XWWo,16821
|
5
|
-
pylibtemplate-0.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
6
|
-
pylibtemplate-0.0.1.dist-info/entry_points.txt,sha256=lX33RgEzs9UByPT90FvYMpPshWLJcNu4mShQjx_Vi2w,77
|
7
|
-
pylibtemplate-0.0.1.dist-info/top_level.txt,sha256=pY0rl_JGpeTL6KwNkwptEPpv7hNUtxA7tI3PilhAcZw,14
|
8
|
-
pylibtemplate-0.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|