Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIP Package #303

Open
maxexcloo opened this issue Feb 18, 2024 · 5 comments
Open

PIP Package #303

maxexcloo opened this issue Feb 18, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@maxexcloo
Copy link

Describe the bug
Wondering if there's any chance of publishing a package on pip so that I can simply pip install retool to download the tool :)

Expected behavior
Would download the latest version and add it to the PATH, also adding dependencies.

@unexpectedpanda unexpectedpanda added the enhancement New feature or request label Feb 18, 2024
@unexpectedpanda
Copy link
Owner

unexpectedpanda commented Feb 19, 2024

I think this might require some dramatic restructuring. I'll try to keep it in mind as I slowly build out unit and integration tests, but it's not something on my radar in the short term.

@maxexcloo
Copy link
Author

Happy to take a look at this as it seems this can be done using GitHub Actions - https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

@unexpectedpanda
Copy link
Owner

unexpectedpanda commented Feb 20, 2024

I'm currently working on integrating Hatch as a linting, testing, and building framework on my local, with the idea of eventually getting it into GitHub Actions for easier contribution. Ultimately I imagine that would be part of a package workflow as well.

From a package perspective I'm not sure how much restructuring of Retool itself has to be done. Ultimately I'd want to manage the tokens/project for PyPI, so there'd have to be collaboration there.

If you want to get a start on building some Actions, happy to look at PRs, with the caveat that it might take me a little time to understand what's happening in said PRs.

As an aside, I notice you've also built a Docker container for Retool -- my work on #255 stalled as it required learning a new ecosystem, and I was struggling a bit with making muggsyd's user permissions work (for some reason the commands didn't exist) and not being able to test against the originally requested ARM64 hardware for peace of mind.

Looking at the fuss people have to go through to install Retool in a Docker container, perhaps package + Docker image are complementary tasks?

Edit: there's also this RomVault Docker image that apparently allows VNC so you can use the GUI. Madness, but it was a path I was considering.

@maxexcloo
Copy link
Author

I’d say a Docker image with VNC and just a plain Docker image cli CLI could be different things - personally I used the GUI to configure but past that I didn’t use it. My image is pretty clean so I’m happy to open a PR and tweak it a bit more :)

@maxexcloo
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants