From ff8aa9e80c930f63de337ef26c4c115ef41da4a2 Mon Sep 17 00:00:00 2001 From: Ben Beasley Date: Fri, 15 Nov 2024 09:27:56 -0500 Subject: [PATCH] Fix missing gherkin-languages.json in Python wheel (#316) * Fix missing gherkin-languages.json in Python wheel * Update changelog for Python gherkin-languages.json fix --- CHANGELOG.md | 2 ++ python/pyproject.toml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d38f032c9..83289467b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ This project adheres to [Semantic Versioning](http://semver.org). This document is formatted according to the principles of [Keep A CHANGELOG](http://keepachangelog.com). ## [Unreleased] +### Fixed +- [Python] File gherkin-languages.json was not included as package data ## [30.0.3] - 2024-11-14 ### Fixed diff --git a/python/pyproject.toml b/python/pyproject.toml index 124762aa4..cd9ffbf8d 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -37,6 +37,9 @@ Changelog = "https://github.com/cucumber/gherkin/releases" [tool.setuptools.packages.find] include = ["gherkin", "gherkin.*"] +[tool.setuptools.package-data] +gherkin = ["*.json"] + [tool.mypy] disallow_untyped_defs = true packages = ["gherkin"]