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

feature: management command to open a shell #130

Open
axel-kah opened this issue May 14, 2024 · 1 comment
Open

feature: management command to open a shell #130

axel-kah opened this issue May 14, 2024 · 1 comment

Comments

@axel-kah
Copy link

Hi,

big fans of pyapp here. In its current form it lends itself very well for this use case: distribute lightweight, self-bootstrapping python environments based on lockfiles 💪

Icing on the cake would be an additional management command equivalent to the hatch env shell command: <pyapp-binary> self shell. Unfortunately no Rust skills beyond compiling existing projects to offer.

@Tremeschin
Copy link

Tremeschin commented May 25, 2024

I am also interested in this, we could have a wheel with many entry scripts created by uv/pip on the venv's bin directory, and start each project as if the person had bootstrapped Python, git cloned and installed the dependencies

And probably a PYAPP_{OPTION} to start the shell after the program exits, "shell mode"

I have a project similar to manim, so I always need a scene script file and a name as input, the no args behavior is to list the scenes on common dirs and quit, so the program "intantly crashes/does nothing" on a user's perspective

That's trivial for linux people, as they'd install from package managers and run on terminal, but not otherwise

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

No branches or pull requests

2 participants