From 00880b2b50aad36198422ad3a4cd892a74f590fb Mon Sep 17 00:00:00 2001 From: Gabe Fierro Date: Thu, 12 Sep 2024 09:44:46 -0600 Subject: [PATCH] update pyontoenv, add directions for submodule --- CONTRIBUTING.md | 10 ++++++++-- pyproject.toml | 2 +- requirements.txt | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4c48dca5..f11a89df 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,7 +49,13 @@ git clone https://github.com/BrickSchema/Brick cd Brick ``` -2. Install the virtual environment and set up dependencies +2. Use Git submodules to pull in the RealEstateCore ontology + +```bash +git submodule update --init +``` + +3. Install the virtual environment and set up dependencies ```bash # creates virtual environment @@ -65,7 +71,7 @@ pip install -r requirements.txt pre-commit install ``` -3. Run tests to make sure the build is not broken +4. Run tests to make sure the build is not broken ```bash make test diff --git a/pyproject.toml b/pyproject.toml index 878486a3..22e46ab2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ dev-dependencies = [ "pytest-xdist[psutil]>=3.6.1", "semver>=3.0.2", "html5lib>=1.1", - "pyontoenv>=0.1.9a6", + "pyontoenv>=0.1.9", "brickschema[topquadrant]>=0.7.6a2", "scipy>=1.13.1", "sentence-transformers>=3.0.1", diff --git a/requirements.txt b/requirements.txt index 2a5e27d0..55554670 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,4 +11,4 @@ flake8>=6.0 semver>=2.10.1 pytest-xdist[psutil] html5lib -pyontoenv>=0.1.8 +pyontoenv>=0.1.9