Skip to content

Minimal packaging draft#1

Draft
willirath wants to merge 1 commit intosonoware:mainfrom
willirath:wr/package
Draft

Minimal packaging draft#1
willirath wants to merge 1 commit intosonoware:mainfrom
willirath:wr/package

Conversation

@willirath
Copy link

@willirath willirath commented Mar 29, 2025

  • pyproject.toml
    • basic structure
    • names of people
    • description and keywords
  • adapt README (installation instructions)
  • directory structure / package (mainly __init__.py and relative imports)

Once gdal is installed (I did this with micromamba in an otherwise clean env.), this can be installed with

$ python -m pip install git+https://github.com/sonoware/sidescantools.git@main

or with a version number instead of main once a release has been made.

The package installs a gui available via the command sidescantools-gui.


You can test this for now with the following:

$ # create env with only gdal. You may do this differently.
$ micromamba create -n sidescantest -c conda-forge python pip gdal -y
$ micromamba activate sidescantest
$ # install package
$ python -m pip install git+https://github.com/willirath/sidescantools.git@wr/package
$ # you may need to re-activate the env to let the addition of the gui to the path take effect
$ micromamba deactivate
$ micromamba activate sidescantest
$ # start the gui
$ sidescantools-gui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant