flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
11.59k stars 454 forks source link

flet/client for Linux: rename main binary from flet to `flet_runner` #3286

Open lucasew opened 6 months ago

lucasew commented 6 months ago

Please Describe The Problem To Be Solved I am one of the maintainers of this package in nixpkgs. IMO the packaging now is very complete. I was the one that added the client to nixpkgs but there is a small annoying issue: both the client and the python library expose the flet command.

(Optional): Suggest A Solution

Just rename the main binary of the client from flet to flet_client. I think it can be done changing that binary name in CMakeLists.txt. It would need to also be changed in the code so Python knows how to launch the client.

If you guys for some reason don't care, a Nix-only fix wouldn't be hard too. A mv in a postInstall phase and a change in meta.mainProgram would give the same results without risk of breakage in your side.

FeodorFitsner commented 6 months ago

That makes sense. Will keep that in mind for next releases.

FeodorFitsner commented 6 months ago

I'm going to do that for 0.24 or 0.25 release as part of #3163.

I suggest we name it flet_runner though. I don't like this old "Flet client" name, because it's no longer a client :)