-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] Read tag-wahoo.xml and tags-to-keep.json from user directory f…
…irst (from python module as fallback) (#170) * new function to access files from user repo or PyPI installation * access tag-wahoo xml from user dir in favor of PyPI installtion * read tags-to-keep from .json instead of constants.py - incl. changing unittests to not mock variables but files and cleaning up the file * access tags-to-keep .json from user dir in favor of PyPI installtion * force using .json file from repo for unittests for unittesting it makes not sense to read the user-dir. The result would not be equal in all cases * delete tag-wahoo .xml files I am not aware of what they do they are coming from #38 and #34 but might most probably not be used actually. With this PR, users can have their own tag-wahoo .xml file in the user-directory * move initialization of dirs and version adjustments up - initialization needed for windows tooling. Needs to be before check of required programs * correction of user-dir vs. repo-dir - incl. usage of constant for user config directory - incl. creation of user config directory on start * new init function to copy files from python package to user dir * fix pylint findings * insert user-dir to docu and shorten README * insert table of arguments
- Loading branch information
Showing
18 changed files
with
422 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
from wahoomc import main | ||
|
||
if __name__ == '__main__': | ||
main.run() | ||
main.run("run") |
Oops, something went wrong.