diff --git a/CHANGELOG.md b/CHANGELOG.md index bddafd4..dfffb26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 3.0.6 (2025-07-18) + +### Changed + +- Fixed missing `base_config.json` in released .whl + ## 3.0.5 (2025-06-18) ### Changed diff --git a/base_config.json b/deduce/base_config.json similarity index 100% rename from base_config.json rename to deduce/base_config.json diff --git a/deduce/deduce.py b/deduce/deduce.py index 84c6229..613aa89 100644 --- a/deduce/deduce.py +++ b/deduce/deduce.py @@ -4,7 +4,6 @@ import itertools import json import logging -import os import sys from pathlib import Path from typing import Any, Optional, Union @@ -27,8 +26,8 @@ __version__ = importlib.metadata.version(__package__ or __name__) -_BASE_PATH = Path(os.path.dirname(__file__)).parent -_LOOKUP_LIST_PATH = _BASE_PATH / "deduce" / "data" / "lookup" +_BASE_PATH = Path(__file__).parent +_LOOKUP_LIST_PATH = _BASE_PATH / "data" / "lookup" _BASE_CONFIG_FILE = _BASE_PATH / "base_config.json" diff --git a/pyproject.toml b/pyproject.toml index ff2cd27..3f22f85 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "deduce" -version = "3.0.5" +version = "3.0.6" description = "Deduce: de-identification method for Dutch medical text" authors = ["Vincent Menger "] maintainers = ["Vincent Menger "]