spaider-cli 0.1.0__tar.gz → 0.1.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.
- {spaider_cli-0.1.0/src/spaider_cli.egg-info → spaider_cli-0.1.1}/PKG-INFO +1 -1
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/pyproject.toml +1 -1
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/__init__.py +9 -1
- {spaider_cli-0.1.0 → spaider_cli-0.1.1/src/spaider_cli.egg-info}/PKG-INFO +1 -1
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/LICENSE +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/README.md +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/setup.cfg +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/commands/__init__.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/commands/agent.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/commands/doctor.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/commands/init.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/commands/mcp.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/lib/__init__.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/lib/api.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/lib/docker.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/lib/env.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/lib/llm.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/lib/mcp.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/main.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/skills/__init__.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli/skills/claude_code.md +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli.egg-info/SOURCES.txt +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli.egg-info/dependency_links.txt +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli.egg-info/entry_points.txt +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli.egg-info/requires.txt +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/src/spaider_cli.egg-info/top_level.txt +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/tests/test_agent.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/tests/test_doctor.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/tests/test_env.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/tests/test_init.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/tests/test_mcp.py +0 -0
- {spaider_cli-0.1.0 → spaider_cli-0.1.1}/tests/test_smoke.py +0 -0
|
@@ -11,4 +11,12 @@ Implementation lives in ``spaider_cli.commands``; this module only re-exports
|
|
|
11
11
|
the entry-point app so ``[project.scripts]`` resolution stays simple.
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
# Single source of truth is pyproject.toml; read it back from the installed
|
|
15
|
+
# package metadata so `spaider --version` can never drift from the wheel.
|
|
16
|
+
from importlib.metadata import PackageNotFoundError
|
|
17
|
+
from importlib.metadata import version as _pkg_version
|
|
18
|
+
|
|
19
|
+
try:
|
|
20
|
+
__version__ = _pkg_version("spaider-cli")
|
|
21
|
+
except PackageNotFoundError: # running from a source tree without an install
|
|
22
|
+
__version__ = "0.0.0+source"
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|