Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devops: adopt PEP 621 and move build spec to pyproject.toml #779

Merged
merged 2 commits into from
Jan 29, 2022

Commits on Jan 28, 2022

  1. Devops: adopt PEP 621 and move build spec to pyproject.toml

    Following PEP 621 it is now possible to fully define the build procedure
    of your package in `pyproject.toml`. Since this PEP is now well
    supported, and for example `pip` can use it, we migrate to it since it
    provides a bunch of benefits:
    
     * No longer need the deprecated `setup.py` to install the package.
     * Version number is now dynamically fetched from the package. So the
       utility script to make sure the `setup.json` specifies the same
       version can be removed.
     * The `MANIFEST.in` is no longer necessary. The `flit` build tool will
       automatically include anything. The `pyproject.toml` has a tool
       section for `flit` that excludes the `tests` and `docs` folders.
    sphuber committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    390bb70 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2022

  1. Configuration menu
    Copy the full SHA
    9e58f31 View commit details
    Browse the repository at this point in the history