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

python: Switch to pyproject.toml #290

Closed
wants to merge 13 commits into from
Closed

Commits on Sep 28, 2024

  1. Switch to pyproject.toml

    I had to remove the `bin/gherkin` executable since that doesn't work with pyproject.toml (scripts can only be python entrypoints). But I replaced with the correct annotation in pyproject.toml, so if you install the package, the script will be automatically installed in the venv too
    youtux committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    07cb344 View commit details
    Browse the repository at this point in the history
  2. Remove bin/ dir, use scripts as python -m ...

    We don't need to distribute these scripts as entry points. It's unlikely that any of our users need these, as they are just used internally for acceptance test.
    
    Instead, let's move them to the package `gherkin.scripts`, and invoke them using `python -m gherkin.scripts.xxx`
    youtux committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    afbba91 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f1cd4e1 View commit details
    Browse the repository at this point in the history
  4. Add changelog line

    youtux committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    1c5114c View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Move scripts out of the gherkin package.

    No need to distribute them, as they are for internal tests
    youtux committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    b94911b View commit details
    Browse the repository at this point in the history
  2. Do not use raise SystemExit

    youtux committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    5405b62 View commit details
    Browse the repository at this point in the history
  3. No need to specify package-data, as it's collected by default when us…

    …ing `pyproject.toml`
    youtux committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    9f7f9cc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d992ac4 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    987e836 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc520a1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ed84b3 View commit details
    Browse the repository at this point in the history
  4. Remove unused import

    youtux committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    58bef75 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

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