Skip to content

Document local uvx packaging workflow#12

Merged
dbroeglin merged 2 commits into
mainfrom
dbroeglin-test-uvx-packaging
Jun 21, 2026
Merged

Document local uvx packaging workflow#12
dbroeglin merged 2 commits into
mainfrom
dbroeglin-test-uvx-packaging

Conversation

@dbroeglin

Copy link
Copy Markdown
Owner

Using the harness from a standalone experiment repo should not require working inside this repository or installing an editable environment first. This documents the verified uvx --from <local-checkout> workflow and fixes the wheel packaging issue that prevented local uvx installs from building cleanly.

Summary

  • Remove the duplicate Hatch force-include entry so the template tree is not added to the wheel twice.
  • Add local uvx --from usage to the main README and authoring guide, including PowerShell syntax.
  • Carry the same guidance into newly scaffolded experiment repos through the README, AGENTS, and pyproject templates.
  • Document --no-cache as the reliable way to force uv to rebuild from the local working tree while iterating.

Validation

  • uv build --out-dir <artifact-dir>
  • uv run pytest tests\test_scaffold.py -q
  • uvx --no-cache --from <repo> copilot-experiments init <tmp-dir> --force

dbroeglin and others added 2 commits June 21, 2026 20:37
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dbroeglin dbroeglin merged commit f28ccc6 into main Jun 21, 2026
8 checks passed
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