Improve Makefile to clean __pycache__ directory recursively#611
Improve Makefile to clean __pycache__ directory recursively#611
Conversation
|
@weiji14 Just a quick off-topic question: should we use milestone |
weiji14
left a comment
There was a problem hiding this comment.
Looks good, didn't realize there were so many nested pycache directories!
One thing that bugs me is that the Makefile commands are very UNIX specific (i.e. it works on Linux/macOS, but not on Windows). But that's for a separate PR.
@weiji14 Just a quick off-topic question: should we use milestone
0.2.1instead of0.2.x? I think0.2.1is easier for us and others to track the changes in a single release. If we decide to release0.3.0instead of0.2.1, it's also much easier to changes all0.2.1-related PRs/issues to0.3.0.
No strong preference, happy to go with it (though I do like that milestone v0.2.x is at https://github.com/GenericMappingTools/pygmt/milestone/2 and milestone v0.3.x is at https://github.com/GenericMappingTools/pygmt/milestone/3, but that is bound to break at some point).
I believe we will fix it when a Windows developer joins the team.
OK. I'll change the milestones later. |
Description of proposed changes
Running
make cleanonly deletes the pycache directory in theproject root. There are still a few pycache directory left in the
subdirectories.
Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.