Skip to content

Package for PyPI publication #22

@thompsonmj

Description

@thompsonmj

Packaging SST for publication and installation via PyPI has been expressed as a desirable update to the project in a few contexts.

The first decision that would be needed for this though is a package name because bare sst is claimed.

And changes that seem appropriate:

  • Drop GroundingDINO (or excise it into a branch for further exploration of text-based segmentation, perhaps for evaluation alongside SAM3)
  • Migrate local SAM2 copy use to sam2 imports and default configs
  • Specify from sst import to avoid ambiguous imports
  • Retrieve model weights from HF automatically rather than as a manual step
  • Set entry points and a simple cli.py module, with launching the GUI as its own subcommand
  • Pin down dependencies a bit
  • PyPI Actions workflow
  • README and demo updates for data/
  • Housekeeping DOI, Zenodo, etc.

This should be most of what's needed for packaging. Scope here should probably be limited to just what's needed for PyPI publication.

This would obviously be a breaking change for anyone currently using the scripts from the cloned repo. We should probably want to tag a release for the current 'scripts era' at v1.1.0 and release the updated PyPI as v2.0.0.

Any/all of the above is available for discussion!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions