mirror of
https://github.com/elder-plinius/OBLITERATUS.git
synced 2026-06-07 14:53:53 +02:00
Add __main__.py and fix remote pip install command
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
"""Allow running obliteratus as ``python -m obliteratus``."""
|
||||
|
||||
from obliteratus.cli import main
|
||||
|
||||
main()
|
||||
@@ -193,7 +193,7 @@ class RemoteRunner:
|
||||
self.on_log("Installing obliteratus on remote...")
|
||||
install_cmd = (
|
||||
f"{self.config.python} -m pip install --quiet "
|
||||
f"'obliteratus @ git+https://github.com/EleutherAI/OBLITERATUS.git'"
|
||||
f"git+https://github.com/EleutherAI/OBLITERATUS.git"
|
||||
)
|
||||
rc = self.run_ssh(install_cmd, stream=True, timeout=self.config.install_timeout)
|
||||
if rc != 0:
|
||||
|
||||
Reference in New Issue
Block a user