supercomputer-console 1.3.0__tar.gz → 1.3.1__tar.gz
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.
- {supercomputer_console-1.3.0/supercomputer_console.egg-info → supercomputer_console-1.3.1}/PKG-INFO +1 -1
- {supercomputer_console-1.3.0 → supercomputer_console-1.3.1}/supercomputer.py +4 -2
- {supercomputer_console-1.3.0 → supercomputer_console-1.3.1/supercomputer_console.egg-info}/PKG-INFO +1 -1
- {supercomputer_console-1.3.0 → supercomputer_console-1.3.1}/LICENSE +0 -0
- {supercomputer_console-1.3.0 → supercomputer_console-1.3.1}/README.md +0 -0
- {supercomputer_console-1.3.0 → supercomputer_console-1.3.1}/pyproject.toml +0 -0
- {supercomputer_console-1.3.0 → supercomputer_console-1.3.1}/setup.cfg +0 -0
- {supercomputer_console-1.3.0 → supercomputer_console-1.3.1}/supercomputer_console.egg-info/SOURCES.txt +0 -0
- {supercomputer_console-1.3.0 → supercomputer_console-1.3.1}/supercomputer_console.egg-info/dependency_links.txt +0 -0
- {supercomputer_console-1.3.0 → supercomputer_console-1.3.1}/supercomputer_console.egg-info/entry_points.txt +0 -0
- {supercomputer_console-1.3.0 → supercomputer_console-1.3.1}/supercomputer_console.egg-info/requires.txt +0 -0
- {supercomputer_console-1.3.0 → supercomputer_console-1.3.1}/supercomputer_console.egg-info/top_level.txt +0 -0
- {supercomputer_console-1.3.0 → supercomputer_console-1.3.1}/supercomputer_wallpaper.py +0 -0
|
@@ -27,7 +27,7 @@ import urllib.error
|
|
|
27
27
|
import urllib.request
|
|
28
28
|
import uuid
|
|
29
29
|
|
|
30
|
-
__version__ = "1.3.
|
|
30
|
+
__version__ = "1.3.1"
|
|
31
31
|
REPO_URL = "github.com/rdubar/supercomputer"
|
|
32
32
|
PYPI_NAME = "supercomputer-console"
|
|
33
33
|
PYPI_URL = f"https://pypi.org/pypi/{PYPI_NAME}/json"
|
|
@@ -1076,6 +1076,8 @@ def install_method():
|
|
|
1076
1076
|
if os.path.isdir(os.path.join(here, ".git")):
|
|
1077
1077
|
return "git checkout", ["git", "-C", here, "pull", "--ff-only"]
|
|
1078
1078
|
prefix = sys.prefix.replace("\\", "/")
|
|
1079
|
+
if "/Cellar/supercomputer/" in os.path.realpath(__file__) and shutil.which("brew"):
|
|
1080
|
+
return "Homebrew", ["brew", "upgrade", "rdubar/tap/supercomputer"]
|
|
1079
1081
|
if "/uv/tools/" in prefix and shutil.which("uv"):
|
|
1080
1082
|
return "uv tool", ["uv", "tool", "upgrade", PYPI_NAME]
|
|
1081
1083
|
if "/pipx/venvs/" in prefix and shutil.which("pipx"):
|
|
@@ -1131,7 +1133,7 @@ def main():
|
|
|
1131
1133
|
ap.add_argument("--version", action="store_true",
|
|
1132
1134
|
help="show the version and check quickly for a newer release")
|
|
1133
1135
|
ap.add_argument("--update", action="store_true",
|
|
1134
|
-
help="upgrade to the latest release (uv, pipx, venv or git checkout)")
|
|
1136
|
+
help="upgrade to the latest release (uv, pipx, Homebrew, venv or git checkout)")
|
|
1135
1137
|
args = ap.parse_args()
|
|
1136
1138
|
if args.version:
|
|
1137
1139
|
show_version()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|