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

Restore compatability with older setuptools versions and cleanup specfile #296

Merged
merged 2 commits into from Mar 24, 2023

Commits on Mar 15, 2023

  1. Revert "refactor: attempt to modernise build"

    This reverts commit 54252c8 and
    restores compatibility with Fedora 36, EL 9, and other distributions
    with older setuptools versions.
    
    - Keep the setup.py out. The setuptools PEP 517 backend can read
      configuration from setup.cfg.
    - Relax setuptools constraint. The newer version is only needed for PEP
      631 support.
    - Relax setuptools_scm constraint. The upstream recommendation is
      arbitrary and older versions still work. EL 9 only has 6.0.1.
    - Leave setuptools_scm configuration in pyproject.toml.
    gotmax23 committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    bd4914c View commit details
    Browse the repository at this point in the history
  2. setup.cfg: don't mark wheel as universal

    The resulting dist shouldn't have the py2 tag since it only declares
    support for Python 3.6+.
    
    Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
    gotmax23 and webknjaz committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    44d20d5 View commit details
    Browse the repository at this point in the history