noisepy/NoisePy

Remove the code and test files from `noisepy`. Add a dependency on the new `noisepy-seis-io` and ensure the package works.

Closed this issue · 0 comments

Here's how I recommend doing this, assuming you have a the two repos as:

repos/noisepy
repos/noisepy-io
  1. Create a new virtual environment
  2. cd repos
  3. pip install -e "./noisepy[dev]"
  4. pip install -e "./noisepy-io[dev]"

This will give you a virtual environment with both projects installed locally and in editable mode. You then need to:

  • Add a dependency to noisepy-io from noisepy (in the pyproject.toml)
  • For each type (or a set of types) that moved:
    • Delete the code in noisepy that now exists in noisepy-io
    • Fix up the import statements across the code
    • Run unit tests

Throughout this process you'll likely make changes in both packages. In the end you'll need to do a PR and publish a version of noisepy-io. Once that is published you can do the big PR in noisepy to use this new package.