docs: use python3 pip bootstrap for us-cpa install
This commit is contained in:
@@ -37,7 +37,8 @@ class UsCpaCliSmokeTests(unittest.TestCase):
|
||||
def test_readme_documents_install_and_script_usage(self) -> None:
|
||||
readme = (SKILL_DIR / "README.md").read_text()
|
||||
self.assertIn("pip install -e '.[dev]'", readme)
|
||||
self.assertIn("python -m pip install --upgrade pip setuptools wheel", readme)
|
||||
self.assertIn("python3 -m ensurepip --upgrade", readme)
|
||||
self.assertIn("python3 -m pip install --upgrade pip setuptools wheel", readme)
|
||||
self.assertIn("scripts/us-cpa", readme)
|
||||
self.assertIn("python -m unittest", readme)
|
||||
|
||||
@@ -49,11 +50,13 @@ class UsCpaCliSmokeTests(unittest.TestCase):
|
||||
self.assertIn("OpenClaw installation", readme)
|
||||
self.assertIn("~/.openclaw/workspace/skills/us-cpa", readme)
|
||||
self.assertIn(".venv/bin/python", readme)
|
||||
self.assertIn("python -m pip install --upgrade pip setuptools wheel", readme)
|
||||
self.assertIn("python3 -m ensurepip --upgrade", readme)
|
||||
self.assertIn("python3 -m pip install --upgrade pip setuptools wheel", readme)
|
||||
self.assertNotIn("/Users/stefano/", readme)
|
||||
self.assertIn("OpenClaw installation", operator_doc)
|
||||
self.assertIn("rsync -a --delete", operator_doc)
|
||||
self.assertIn("python -m pip install --upgrade pip setuptools wheel", operator_doc)
|
||||
self.assertIn("python3 -m ensurepip --upgrade", operator_doc)
|
||||
self.assertIn("python3 -m pip install --upgrade pip setuptools wheel", operator_doc)
|
||||
self.assertIn("~/", operator_doc)
|
||||
self.assertNotIn("/Users/stefano/", operator_doc)
|
||||
self.assertIn("~/.openclaw/workspace/skills/us-cpa/scripts/us-cpa", skill_doc)
|
||||
|
||||
Reference in New Issue
Block a user