-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] install: Download Osmosis and Osmfilter on Windows during first run instead of shipping with the tool #167
Merged
Conversation
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
53fc60c
to
7c374ad
Compare
7c374ad
to
9af439a
Compare
b6266a1
to
9075b43
Compare
9af439a
to
7f87a90
Compare
7f87a90
to
f121ddb
Compare
f121ddb
to
bbae6f4
Compare
bbae6f4
to
f126286
Compare
- needed for windows tooling - single point of truth
- incl rework unzip function to not have lib/lib doubled directories after unzipping - incl reformatting download_file() calls
- calculate if download is a .zip file - input absolute target_dir to be more flexible - change calls accordingly
This partly reverts commit a37bc24.
+ one function for PyPI module access and user dir
a38f352
to
0385c8a
Compare
- make variables clearer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR…
Considerations and implementations
Reasons for not shipping Osmosis via PyPI:
Reason for not shipping Osmconvert:
osmconvert64-0.8.8p.exe
and the non 64bit version from within the python modulewithout Osmosis and Osmfilter: wahoomc-3.2.0a3 / branch dl-tooling-win:
![grafik](https://user-images.githubusercontent.com/53038537/204459837-24aeb670-68ef-41b8-a362-7efaf0142a64.png)
with Osmosis and Osmfilter: wahoomc-3.2.0a4 / branch develop:
![grafik](https://user-images.githubusercontent.com/53038537/204460247-0514c8e1-09c2-410c-a3d6-a210dd7e767d.png)
How to test
wahoomc-3.2.0a3
or checkout this branchwahooMapsCreatorData/_download
for atooling_win
folderpython -m wahoomc cli -co malta
orpython -m wahoomc -h
wahooMapsCreatorData/_download
for atooling_win
folderin Windows there should be a
![grafik](https://user-images.githubusercontent.com/53038537/204565582-88bebe36-9e4d-4212-9ad4-b3f8c917e6e7.png)
Osmosis
directory and aosmfilter.exe
filein macOS this folder should be not there
Pull Request Checklist