Skip to content

Commit 0c03591

Browse files
committed
import importlib
1 parent d71851e commit 0c03591

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pretext/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import importlib
12
import logging
23
import logging.handlers
34
import sys
@@ -211,7 +212,7 @@ def upgrade() -> None:
211212
else:
212213
log.info("Upgrading PreTeXt.")
213214
pretext_cmd = "pretext"
214-
subprocess.run([sys.executable, "-m", "pip", "install", "--upgrade", pretext_cmd])
215+
#subprocess.run([sys.executable, "-m", "pip", "install", "--upgrade", pretext_cmd])
215216
log.info(
216217
"Upgrade complete. Individual projects can be updated to align with the latest version of the CLI by running `pretext update` from their project folder."
217218
)

0 commit comments

Comments
 (0)