py-solc-x
py-solc-x copied to clipboard
use shutil.move instead of os.rename to avoid crashes during install
os.rename crashes in certain scenarios (just happened to me), see the python docs. shutil.move handles these cases better, also see this question on stackoverflow.
What I did
Replaced os.rename with shutil.move.
Checklist
- [x] I have confirmed that my PR passes all linting checks
- [ ] I have included test cases
- [ ] I have updated the documentation (README.md)
- [ ] I have added an entry to the changelog