mirror of
https://github.com/Ar9av/obsidian-wiki.git
synced 2026-09-14 20:36:34 +08:00
46e699b91f
* feat(pypi): package obsidian-wiki as a pip-installable distribution (#71) Add a PyPI package so users can install without cloning the repo. - pyproject.toml (hatchling, no runtime deps); force-include .skills/ and bootstrap files into the wheel under obsidian_wiki/_data/ — repo root stays the single source of truth. Force-include .skills/ into the sdist too, or hatchling's VCS walker drops it (the committed agent symlink mirrors shadow the real .skills/<name> files). - obsidian_wiki CLI: Python port of setup.sh. `obsidian-wiki setup` writes ~/.obsidian-wiki/config and symlinks all skills into every supported agent (--copy / --project / --project-only); plus `list` and `info`. - .github/workflows/publish.yml: build + twine check + skill-bundle assertion, publish to PyPI on v* tags via Trusted Publishing (OIDC). - README + SETUP: pip install instructions; gitignore build artifacts. * build(pypi): derive version from git tag via hatch-vcs; skip-existing on publish Align the package version with the repo's CalVer release tags (v2026.05.2 -> 2026.5.2) so tagging a release is the version bump and future release tags auto-publish the matching version.
7 lines
135 B
Python
7 lines
135 B
Python
"""Enable ``python -m obsidian_wiki``."""
|
|
|
|
from obsidian_wiki.cli import main
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|