Skip to content

Refactor to use UV for project management and for packaging as an executable - #203

Open
seaglade wants to merge 1 commit into
s0md3v:masterfrom
seaglade:uv_tool_refactor
Open

seaglade wants to merge 1 commit into
s0md3v:masterfrom
seaglade:uv_tool_refactor

Conversation

@seaglade

Copy link
Copy Markdown

With these changes, the tool is now able to be executed via uv run photon, and installed as a CLI tool via uv tool install photon --from . from the project root. In the future, another refactor could be done to merge the CLI tool and the library (which seems to be an entirely separate codebase not published on GitHub as far as I can tell) so that they can be built from the same repo, and that would allow users to install photon as a cli tool via uv tool install photon or pipx install photon without needing to clone the repo.

@seaglade

Copy link
Copy Markdown
Author

You should adjust the license, description and author fields of the pyproject.toml as you see fit before merging this. I made my best guess on your SPDX preference based on the license file and copied the description from the GitHub repo, and I left the author field blank for now.

@seaglade

Copy link
Copy Markdown
Author

I also haven't touched CI jobs since I'm not sure how exactly you want those configured, but if you'd like me to do so please just let me know.

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