Skip to content
Snippets Groups Projects

Convert scripts to entry_points

Open Duncan Macleod requested to merge duncanmmacleod/dqsegdb-client:entry-points into master
1 unresolved thread

This MR converts all of the scripts previously managed in bin/ into entry points constructed from code now managed as modules in the new dqsegdb.tools subpackage.

Using entry points rather than scripts has a few advantages

  • much easier to test functions in the code independently of the whole
  • much easier to measure coverage
  • entry points are more portable (easier to install on non-Unix platforms, for example)
  • allows for a noarch: python conda package (niche benefit)

This should have no impact on the functionality or usability of any of the current scripts.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading