autopub 1.0.0a29__py3-none-any.whl → 1.0.0a30__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- autopub/__init__.py +1 -5
- {autopub-1.0.0a29.dist-info → autopub-1.0.0a30.dist-info}/METADATA +1 -1
- {autopub-1.0.0a29.dist-info → autopub-1.0.0a30.dist-info}/RECORD +6 -6
- {autopub-1.0.0a29.dist-info → autopub-1.0.0a30.dist-info}/LICENSE +0 -0
- {autopub-1.0.0a29.dist-info → autopub-1.0.0a30.dist-info}/WHEEL +0 -0
- {autopub-1.0.0a29.dist-info → autopub-1.0.0a30.dist-info}/entry_points.txt +0 -0
autopub/__init__.py
CHANGED
@@ -40,11 +40,6 @@ class Autopub:
|
|
40
40
|
RELEASE_FILE_PATH = "RELEASE.md"
|
41
41
|
plugins: list[AutopubPlugin]
|
42
42
|
|
43
|
-
def __init__(self, plugins: Iterable[type[AutopubPlugin]] = ()) -> None:
|
44
|
-
self.plugins = [plugin_class() for plugin_class in plugins]
|
45
|
-
|
46
|
-
self.load_plugins()
|
47
|
-
|
48
43
|
@cached_property
|
49
44
|
def config(self) -> ConfigType:
|
50
45
|
pyproject_path = Path.cwd() / "pyproject.toml"
|
@@ -87,6 +82,7 @@ class Autopub:
|
|
87
82
|
return ReleaseInfo.from_dict(release_info)
|
88
83
|
|
89
84
|
def load_plugins(self, default_plugins: list[str] | None = None) -> None:
|
85
|
+
print("🦆 loading plugins")
|
90
86
|
default_plugins = default_plugins or []
|
91
87
|
|
92
88
|
additional_plugins: list[str] = self.config.get("plugins", []) # type: ignore
|
@@ -1,4 +1,4 @@
|
|
1
|
-
autopub/__init__.py,sha256=
|
1
|
+
autopub/__init__.py,sha256=wbqzkmfNtka2-_iGOszJy10aFTKWvNdd_3Qe5Ykxrnw,7071
|
2
2
|
autopub/cli/__init__.py,sha256=77rx1yYi8adLUZAW7Rs48CNVyYe4HgSMZ7pZyIxD1iQ,3894
|
3
3
|
autopub/exceptions.py,sha256=gNUbiG3_fVmNjhk2kyueQHPSifNgQf0Bl6IDNvkVhxQ,1534
|
4
4
|
autopub/plugin_loader.py,sha256=i8nz0cmu5eaSRJ2Hx5KxbA-tOMR2mjcz8fdRg4zkGLE,1813
|
@@ -11,8 +11,8 @@ autopub/plugins/update_changelog.py,sha256=g_6flOP5wocZbjOaYSayWxobL3ld8f0wT78nF
|
|
11
11
|
autopub/plugins/uv.py,sha256=goo8QxaD3FVJ1c3xOSmN1hikZTCUXN8jWNac1S5uDDY,1089
|
12
12
|
autopub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
autopub/types.py,sha256=gY1WR93XZVFS7vf5JMSmL_h5z7zO51-rtmZ6MYsh3so,1043
|
14
|
-
autopub-1.0.
|
15
|
-
autopub-1.0.
|
16
|
-
autopub-1.0.
|
17
|
-
autopub-1.0.
|
18
|
-
autopub-1.0.
|
14
|
+
autopub-1.0.0a30.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
15
|
+
autopub-1.0.0a30.dist-info/METADATA,sha256=hf4CteUV8mLmhe5XICfFohOPpgnVvqBNWLJO5y_nqfw,951
|
16
|
+
autopub-1.0.0a30.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
17
|
+
autopub-1.0.0a30.dist-info/entry_points.txt,sha256=oeTav5NgCxif6mcZ_HeVGgGv5LzS4DwdI01nr4bO1IM,43
|
18
|
+
autopub-1.0.0a30.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|