Skip to content
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

[DEV] Change structure of repository to python module #115

Merged
merged 7 commits into from
May 2, 2022

Conversation

treee111
Copy link
Owner

@treee111 treee111 commented May 2, 2022

This PR…

  • changes the structure of the repo to have a python module "wahoo_mc"
  • wahooMapsCreator is now called via
    • python -m wahoo_mc gui
    • python -m wahoo_mc cli -co malta

Considerations and implementations

This PR is a preparation for #100 to have everything which is needed for processing in the python module

How to test

  1. run the tool as mentioned above

Pull Request Checklist

treee111 added 7 commits May 2, 2022 21:29
- "python -m common_python cli -co malta"
- incl. introducing and adjusting constants
- wahoo_maps_creator.py --> wahoo_mc
- common_python --> wahoo_mc
- pylint findings
- adjust copy script
@treee111 treee111 changed the title [DEV] Adjust structure of repo to python module [DEV] Change structure of repository to python module May 2, 2022
@treee111 treee111 marked this pull request as ready for review May 2, 2022 22:42
@treee111 treee111 merged commit e87ce45 into release-v2.0.0 May 2, 2022
@treee111 treee111 deleted the adjust-structure-of-repo branch May 2, 2022 22:43
treee111 added a commit that referenced this pull request May 6, 2022
* [DEV] Change structure of repository to python module (#115)

* move main file to common_python folder. callable with -m

- "python -m common_python cli -co malta"

* rename common_python folder to wahoo_mc

* move /common_resources content to /wahoo_mc/resources

- incl. introducing and adjusting constants

* change stuff to wahoo_mc

- wahoo_maps_creator.py --> wahoo_mc
- common_python --> wahoo_mc
- pylint findings
- adjust copy script

* update documentation

* move /tooling_windows content to /wahoo_mc/tooling_win

- incl. adjusting constants

* rename wahoo_map_creator.py to main.py

* [DEV] correct pylint findings (#116)

* fix pylint findings

* fix last bit pylint findings --> 10/10!

* adjust pylint check to need a score of 10/10

* do not check for duplicate code

in test_constants and constants that is intended

* install imported modules

* disable zipping in default. provide CLI option

* GUI option for zipping output folders
treee111 added a commit that referenced this pull request May 7, 2022
* replace occurences of old values to wahoo_mc

- "common_"...
- "wahoo_maps_creator"

* adjust docs to the user directory
treee111 added a commit that referenced this pull request May 7, 2022
* [FIX] Adjust documentation from #115 and #119 (#120)

* replace occurences of old values to wahoo_mc

- "common_"...
- "wahoo_maps_creator"

* adjust docs to the user directory

* introduce config files for pypi
- gitignore build-files

* adjust conda .yml files according to PyPI setup

- gdal-user.yml according to setup.cfg
- gdal-dev.yml for publish packages

* Bump to version v2.0.0a2

* align the package folder to the package name

- rename wahoo_mc to wahoo-mc

* Bump to version v2.0.0a3

* Revert "align the package folder to the package name"

This reverts commit 95a32cd.

* rename to mahoomc

* Bump to version v2.0.0a4

* temp documentation

* Bump to version v2.0.0a5

* add upgrading wahoomc via pip

* add commands to publish the release to PyPI
treee111 added a commit that referenced this pull request May 7, 2022
* [FIX] Adjust documentation from #115 and #119 (#120)

* replace occurences of old values to wahoo_mc

- "common_"...
- "wahoo_maps_creator"

* adjust docs to the user directory

* introduce config files for pypi
- gitignore build-files

* adjust conda .yml files according to PyPI setup

- gdal-user.yml according to setup.cfg
- gdal-dev.yml for publish packages

* Bump to version v2.0.0a2

* align the package folder to the package name

- rename wahoo_mc to wahoo-mc

* Bump to version v2.0.0a3

* Revert "align the package folder to the package name"

This reverts commit 95a32cd.

* rename to mahoomc

* Bump to version v2.0.0a4

* temp documentation

* Bump to version v2.0.0a5

* add upgrading wahoomc via pip

* add commands to publish the release to PyPI
treee111 added a commit that referenced this pull request May 8, 2022
* [FIX] Adjust documentation from #115 and #119 (#120)

* replace occurences of old values to wahoo_mc

- "common_"...
- "wahoo_maps_creator"

* adjust docs to the user directory

* introduce config files for pypi
- gitignore build-files

* adjust conda .yml files according to PyPI setup

- gdal-user.yml according to setup.cfg
- gdal-dev.yml for publish packages

* Bump to version v2.0.0a2

* align the package folder to the package name

- rename wahoo_mc to wahoo-mc

* Bump to version v2.0.0a3

* Revert "align the package folder to the package name"

This reverts commit 95a32cd.

* rename to mahoomc

* Bump to version v2.0.0a4

* temp documentation

* Bump to version v2.0.0a5

* add upgrading wahoomc via pip

* add commands to publish the release to PyPI

BREAKING CHANGE:
The GUI and CLI of wahooMapsCreator will now be called differently than
before:
- `python wahoomc gui` and
- `python wahoomc cli -co malta`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant