diff --git a/README.md b/README.md index b4a6318..8c348ae 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,14 @@ See `/docs/filter_specifications.md` for details on filter implementation. 1. `pip install object_filtering`. 2. Download the latest version of `object_filtering` from the Releases tab on GitHub and install the wheel (`.whl`). -## Making Modifications +## Building From Source 1. Clone this repository. -2. Make modifications to the source code. -3. (Optional) Change the module version in `pyproject.toml`. -4. Run `pytest` from the root of the repository to run unit tests. Only continue if all tests pass. -5. Build the module by running `py -m build` from the root of the repository. -6. Install the newly built wheel file. +2. Install the Python modules `build`, `wheel`, `hatchling`, and `hatch-requirements-txt`. +3. (Optional) Make modifications to the source code. +4. (Optional) Change the module version in `pyproject.toml`. +5. Run `pytest` from the root of the repository to run unit tests. Only continue if all tests pass. +6. Build the module by running `py -m build` from the root of the repository. ## License diff --git a/pyproject.toml b/pyproject.toml index df3ad36..0d89605 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ packages = ["object_filtering"] [project] name = "object_filtering" -version = "0.1.13" +version = "0.1.14" authors = [ { name="Scott Ratchford", email="object_filtering@scottratchford.com" }, ] diff --git a/requirements.txt b/requirements.txt index df9ac61..9c03a3f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1 @@ -build>=1.2.1 -colorama>=0.4.6 -iniconfig>=2.0.0 numpy>=2.0.0 -packaging>=24.0 -pluggy>=1.5.0 -pyproject_hooks>=1.1.0 -pytest>=8.2.2 -setuptools>=71.0.0 -wheel>=0.43.0 diff --git a/src/object_filtering/natural_language/natural_language.py b/src/object_filtering/natural_language/natural_language.py index 559380f..55b9a69 100644 --- a/src/object_filtering/natural_language/natural_language.py +++ b/src/object_filtering/natural_language/natural_language.py @@ -4,7 +4,7 @@ #!/usr/bin/env python3 import json import sys -from src.object_filtering.object_filtering import ( +from ..object_filtering import ( ObjectFilter, Rule, GroupExpression, ConditionalExpression, LogicalExpression, )