victorlei / smop

Small Matlab to Python compiler
MIT License
1.08k stars 409 forks source link

README, README.rst and packaging #143

Open ltalirz opened 5 years ago

ltalirz commented 5 years ago

Hi @victorlei , thanks for making smop!

I came across the github page first, which displays the README.rst and it took me quite a while to figure out how to actually run smop.

I then realized that, besides README.rst, there is also another README with slightly different content (also written in RST as far as I can tell). I'd be happy to prepare a PR that

let me know

RobBW commented 5 years ago

You may be interested in this fork of smop: https://github.com/PatrickFURI/smop https://github.com/PatrickFURI/smop Its a bit fragile, but when it works it produces a nice result (based on 4 trials) Regards Rob

RobBWilkinson@gmail.com

On 27/07/2019, at 11:04, Leopold Talirz notifications@github.com wrote:

Hi, thanks for making smop!

I came across the github page first, which displays the README.rst and it took me quite a while to figure out how to actually run smop.

The easy_install instructions don't mention that a smop executable is added to the path (which actually worked perfectly fine when I realized this). the "use without installation" instructions via python main.py ... don't work for me (even after installation via pip) due to import errors (see #123 https://github.com/victorlei/smop/issues/123) I then realized that, besides README.rst, there is also another README with slightly different content (also written in RST as far as I can tell). I'd be happy to prepare a PR that

merges the two README files makes sure to mention early on the various installation options (pip install smop, clone + python setup.py), including how to run smop adds the README to the page on PyPI https://pypi.org/project/smop/ (will happen at next release) let me know

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/victorlei/smop/issues/143?email_source=notifications&email_token=ABRNQJR4ZWT4DXPE7SAJJ2LQBN7GNA5CNFSM4IHHXB62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HB2A3HQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRNQJTAXZV2FFVDDPHQ2DDQBN7GNANCNFSM4IHHXB6Q.

RichardoTiono commented 5 years ago

Hello @ltalirz would you be able to share how to run or maybe install this correctly ? So far I also encounter same problem as you stated on use without installation. And installing through pip3 also result in deadend, I mean it says successfully installed yet when I use smop --version it cannot find it. I also tried @RobBW suggestion but it has lots of error when I try to convert

ltalirz commented 4 years ago

@RichardoTiono I believe the smop executable obtained via pip install smop worked fine for me to translate a simple matlab program. Of course, I guess smop is not perfect, so in more complicated cases it may fail.