Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: OceanNetworksCanada/api-python-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: OceanNetworksCanada/api-python-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: pyproject
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Nov 21, 2023

  1. BLD: Switch from setup.py to pyproject.toml

    Fixes #1
    
    Over a variety of PEPs (517, 518, 621, 631, etc.), python has moved to static
    metadata on building packages.  This allows developers to work with any
    build or integration frontend.  Since PIP 20.0 was released in Jan 2020, and
    maybe earlier, pip has been fully compatible with these PEPs.  pyproject.toml
    also replaces most of setup.config, allowing future tool config to be specified
    in [tool.black] tables, for example.
    
    It also adds a minimal list of [dev] dependencies, allowing
    pip install -e .[dev]
    to handle all of the required testing packages.
    
    This change loses the long description, since core metadata only specifies
    a single "description" metadata.  It also expands the URLs the project offers
    (oceannetworks.ca, github, and PyPI), since the "urls" metadata now allows
    multiple entries.
    
    It also gitignores the file "commit-msg" as a kindness to my workflow, as I primarily
    use:
    git commit -F commit-msg
    Happy to remove it if it's desired.
    Jacob-Stevens-Haas committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    e998537 View commit details
    Browse the repository at this point in the history
Loading