From c8758b07aebf88ae2a80cbf7e99b2a06137e3739 Mon Sep 17 00:00:00 2001 From: Nathan Moore Date: Fri, 27 Oct 2023 08:19:04 -0600 Subject: [PATCH] move opendssdirect.py upgrade to #48 --- README.md | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ecb71e6..ba3186b 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,8 @@ If either start_time and end_time are invalid or set to None, the simulation wil - Clone the repository: `git clone https://github.com/urbanopt/urbanopt-ditto-reader.git` - Change directories into the repository: `cd urbanopt-ditto-reader` +- If you are using an ARM chip (Apple Silicon) computer, install this branch of OpenDSSDirect.py: +`pip install git+https://github.com/dss-extensions/OpenDSSDirect.py@dss_python-0.12.0` - Create & activate your favorite venv in the repo (I prefer pyenv for [mac/linux](https://github.com/pyenv/pyenv#installation) or [windows](https://github.com/pyenv-win/pyenv-win#installation), and the [virtualenv plugin](https://github.com/pyenv/pyenv-virtualenv)) - Activate pre-commit (only once, after making a new venv): `pre-commit install` - Runs automatically on your staged changes before every commit diff --git a/pyproject.toml b/pyproject.toml index 16d6ff2..695a348 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ classifiers = [ ] dependencies = [ "ditto.py[opendss]~=0.2", - "opendssdirect.py ~= 0.7" + "opendssdirect.py ~= 0.6", ] [project.optional-dependencies]