Closed dwalton76 closed 7 years ago
@dwalton76 thanks for your PR! I'm really happy seeing someone interested in this project and I definitely appreciate your effort. Sorry for delaying this, I was a bit busy with other work and this PR didn't seem very urgent.
That said, I have some remarks about your changes:
make install
and solve.py
are not really needed. One should use python setup.py install
(this is done automatically if you use pip) and a kociemba
command.verify.py
command might be useful, but I think it should be implemented the same way as the kociemba
command: using setup.py's entry_point and a function in command_line.py
So if you address the points above, I will be happy to merge your PR
@muodov My apologies for being slow to reply, I forgot all about this pull request :( I remembered it when I did the "Disable parity checks produced in 4x4x4 reduction" this week, I'm sure that is something you don't want to bring in. I'll re-issue the pull request once we figure out what parts should/shouldn't go in.
For 1 and 2, the changes were just to make the C version easier to install so that I can simplify the setup instructions for MINDCUB3R. The lego mindstorms EV3 is only 300mhz so the python version of kociemba takes about 30s where the C version is only 1 or 2 seconds so it really needs the C version. Would you consider pulling the C implementation out of this repo and putting it in its own repo? That way this repo could stay nice and focused on the python implementation.
Ack on 3, I can change that
Let me get back to you on 4, I remember the relative imports were not working for me but I do not recall the exact error.
This change is