reads tag-wahoo.xml (or with another name, see argument -tag) and tags-to-keep.json from user directory if they exist, if not read from python module
introduces a function to access config files from user directory wahooMapsCreatorData/_config therefore
introduces a new cli call python -m wahoomc.init for initialization of the user directory. Files from python module are copied to user directory and you are asked for overwriting if they aready exist
updates documentation accordingly
Considerations and implementations
Lately a lot of people played around with tags-to-keep and tag-wahoo .xml files.
To do that one had to 1. clone/download the repo or 2. make changes in the python module installation controlled by PyPI.
The advice is now more than ever to install via PyPI and put user specific files in the unser directory of wahooMapsCreator!
How to test
initialize via wahoomc.init
run for your country or X/Y
adjust a file in the user directory
run again, check if the change is visible in logging or the generated maps
This PR…
tag-wahoo.xml
(or with another name, see argument-tag
) andtags-to-keep.json
from user directory if they exist, if not read from python modulewahooMapsCreatorData/_config
thereforepython -m wahoomc.init
for initialization of the user directory. Files from python module are copied to user directory and you are asked for overwriting if they aready existConsiderations and implementations
Lately a lot of people played around with tags-to-keep and tag-wahoo .xml files. To do that one had to 1. clone/download the repo or 2. make changes in the python module installation controlled by PyPI. The advice is now more than ever to install via PyPI and put user specific files in the unser directory of wahooMapsCreator!
How to test
Pull Request Checklist