-
Notifications
You must be signed in to change notification settings - Fork 7
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
Windows build in release #4
Comments
Hi Gabe, Yeah, I need to look into this ... if you don't mind me asking, do you have any idea how I can do that? I only own a Mac ... is there any way to have GitHub do it for me with GitHub Actions or something? It's ok if you're not familiar, I'll try to figure it out sometime |
@PrajwalVandana Sadly i can't help you with this, i'm not as much advanced about these things... |
Hey @graphixillusion, just wanted to lyk I'm working on this right now. Turns out the reason the prebuilt wheel didn't work for you is because you are using Windows 11, not 10. I'll see if I can figure out a way to get the prebuilt Windows 11 wheel as well. |
Hey @graphixillusion, found a cool replacement for will port over audio playback to this package, which doesn’t seem to have the same cumbersome build tool requirements for Windows 👍🏾 |
Hey @graphixillusion, I looked deeper into this and porting the playback code to pyminiaudio is too daunting a task for me, and after some digging it doesn't seem like it'll even work (i.e. allow maestro-cli to install without Visual C++ build tools). Is normal If that's still not working, I'm sorry but there's not much I can do right now, although I'll keep researching |
@PrajwalVandana yep:
|
I ran into the same issue! Unfortunately just_playback does not have that many wheels, and the only solution I found was to build it myself and then share it around for other people (in fact, i built the cp312 version that didn't work for you, lol) if you do ever end up building a wheel, please share it with the devs. Here is a page that can help you with building: https://pypi.org/project/build/. Or, try this: Download and extract the source py -m pip install build
py -m pip build Note that this is not tested, just writing this from my (foggy) memory, so it may not work. |
hey @graphixillusion, I have a windows installer for maestro available now! Will be available as a release soon, im still working on the dev branch right now, but i've attached it here. I think there are some issues (my friends tested it on their computers, i only have a Mac) with startup speed, but it should work overall! Let me know if you have any issues. https://github.com/PrajwalVandana/maestro-cli/actions/runs/10066965427/artifacts/1732586111 let me know if the link doesn't work, it might not be a permalink |
Thank you. Could you provide it as binary/portable? |
Do you mean the direct executable instead of an installer? If so, here it is: https://github.com/PrajwalVandana/maestro-cli/actions/runs/10116171397/artifacts/1745133528 But it has a maestro.exe and a _internal folder with dependencies when unzipped |
Ok, everything seems to work fine with the Windows build. |
Any issues with startup speed/performance in general? Also there are a lot more features in this dev version (e.g. listen-along streaming with the |
Well actually is a little bit slow to start, even the maestro -h tooks around 3 seconds to print to stdout. |
Yeah, my friends had that issue as well ... unfortunately I don't have a Windows device to test on so I wasn't able to figure out why On my Mac it's also slow to startup but only on the first run of any command, I think it's slow for all runs on Windows though 😔 I guess I think the author of |
I managed to install maestro from pip install but the performance are the same of the binary, still slow to start. |
Ah, that's probably because it's the old version, I've made a lot of updates since then that I haven't yet published (soon though!) You can install the dev branch with
|
Is it faster now, btw? |
Nope, still the same performance as before. |
That's odd ... I'll see if I can set up a Windows VM to test What commands are you running? Is it slow for |
maestro is running from: /c/Users/USER/scoop/apps/python/current/Scripts/maestro I've python installed with scoop. About the performance, here's a gif: Every command has this type of delay |
Hmm that is … odd to say the least I’m looking into it, one last question: is the performance the same on all runs? Like if you run the same command right after, does it get any quicker? |
Same for all runs. |
Hey Gabe, I was able to get much better performance even on my Mac after making some fixes! Can you try the latest dev commit again? same command as above
|
Yep i confirm that this build is faster now, not immediate but now the delay is around 1s since you hit enter |
Should be even faster now
|
Yep, i confirm: now the output of the maestro -h command is immediate. All the other commands are slower: they can be optimized too? |
Hmm ... not sure how what else to speedup as the fixes I made till now were to localize heavy imports as much as possible Which other commands do you find slow, and how slow? I'll see what I can do from there |
Now |
Ok, got it; most likely the issue was with the code in the |
Yep, new dev is ok with all the other cli commands. Good job! |
Hi there. This is a cool program indeed but please consider to add the Windows build during release. Right now you need to install atleast 6GB of buildtools/visual studio environment just for make the compile of just_playback lib. I've already tried this command
pip install PATH_TO_DOWNLOADED_WIN64_WHEEL
with this file but it doesn't work on my system (Windows 11 x64). The only solution is to install buildtools and Windows SDK plus Visual C libraries for buildtools for make the compile successfull
The text was updated successfully, but these errors were encountered: