We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef2cab1 commit 44eea5fCopy full SHA for 44eea5f
1 file changed
pretext/cli.py
@@ -197,11 +197,16 @@ def upgrade() -> None:
197
"""
198
extras = []
199
import importlib.util
200
+
201
if importlib.util.find_spec("prefig") is not None:
- log.debug("The 'prefig' package is installed; will attempt to upgrade it as well.")
202
+ log.debug(
203
+ "The 'prefig' package is installed; will attempt to upgrade it as well."
204
+ )
205
extras.append("prefigure")
206
if importlib.util.find_spec("pelican") is not None:
- log.debug("The 'pelican' package is installed; will attempt to upgrade it as well.")
207
208
+ "The 'pelican' package is installed; will attempt to upgrade it as well."
209
210
extras.append("homepage")
211
if len(extras) > 0:
212
log.info(f"Upgrading PreTeXt (with extras: {', '.join(extras)})")
0 commit comments