Skip to content

Add mas-ctl as an installable script alongside mas-lab - #33

Open
jubarbot-cisco wants to merge 3 commits into
outshift-open:mainfrom
jubarbot-cisco:uv-tool-install
Open

Add mas-ctl as an installable script alongside mas-lab#33
jubarbot-cisco wants to merge 3 commits into
outshift-open:mainfrom
jubarbot-cisco:uv-tool-install

Conversation

@jubarbot-cisco

Copy link
Copy Markdown
Contributor

Previously mas-ctl was only usable from within the workspace/dev environment.

With this change, running uv tool install ./lab installs both mas-lab and mas-ctl as global user-env commands, matching the expected end-user installation flow.

This allows to have it installed when installed via 'uv tool install
./lab'

Signed-off-by: Julien Barbot <jubarbot@cisco.com>
Signed-off-by: Julien Barbot <jubarbot@cisco.com>
mas-ctl and mas-lab found schemas and examples by walking up to repo
checkout. Breaks when installed via 'uv tool install' (no checkout
around). Now package those files into the wheels and fall back to
them when no checkout is found.

Signed-off-by: Julien Barbot <jubarbot@cisco.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant