marcomusy / pianoplayer

Automatic fingering generator for piano scores
MIT License
723 stars 82 forks source link

Windows binary #4

Closed mhoangvslev closed 6 years ago

mhoangvslev commented 6 years ago

I ran this command on Windows python setup.py install

How can I launch the program?

marcomusy commented 6 years ago

Hi I just committed a patch. You can just use (sudo) pip install pianoplayer and run it with pianoplayer file.xml

mhoangvslev commented 6 years ago

Thank you, I wonder if there is a windows-friendly approach to use it?

marcomusy commented 6 years ago

I never used windows. :-) I guess the friendliest would be using anaconda (?)

mhoangvslev commented 6 years ago

I think you should keep the previous commit as a separated branch for Windows users

marcomusy commented 6 years ago

doesn't the latest one work with windows?

mhoangvslev commented 6 years ago

@marcomusy When I run the binary under console, Windows prompts me to choose a program to execute.

marcomusy commented 6 years ago

if with binary you refer to the 'pianoplayer' file, then this is not a binary but a python script without the .py extension (see e.g. https://docs.python.org/3.3/using/windows.html#shebang-lines ) What if you try python pianoplayer or py pianoplayer ?

mhoangvslev commented 6 years ago

Pardon my Python skills :)