Having a root path for python files (myproject/myproject in this case) simplifies filtering and uploading files a lot since you don't need to ignore entire contents of your project's root eg: .git, .vscode, readme.md etc. Especially when you work with two files only (in most cases at least): boot.py and main.py.
Also this PR normalizes all paths for REPL. For example: it was impossible before to delete a folder or file with spaces in the name during data formatting process.
Some refactoring and readme update are present as well.
P.S. @dphans you did a good job! I like this project a lot and hope to see it growing!
This PR adds a a root path option to a
.micropythonrc
config. Project structure is changed to this:Having a root path for python files (
myproject/myproject
in this case) simplifies filtering and uploading files a lot since you don't need to ignore entire contents of your project's root eg:.git
,.vscode
,readme.md
etc. Especially when you work with two files only (in most cases at least):boot.py
andmain.py
.Also this PR normalizes all paths for REPL. For example: it was impossible before to delete a folder or file with spaces in the name during data formatting process.
Some refactoring and readme update are present as well.
P.S. @dphans you did a good job! I like this project a lot and hope to see it growing!