From 7ca0dfaece7494e9637993ef8f66e732662df3c6 Mon Sep 17 00:00:00 2001 From: Caleb Weinreb Date: Tue, 2 Apr 2024 19:14:02 -0400 Subject: [PATCH 1/2] fix rendering of JOSS link --- docs/source/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index b77abd3..d5e82a7 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -1,7 +1,7 @@ SNUB (Systems Neuro Browser) ============================ -reStructuredText: + .. image:: https://joss.theoj.org/papers/10.21105/joss.06187/status.svg :target: https://doi.org/10.21105/joss.06187 From a0e9d760f9d09c5c3a9e7096151f82ff6f08f300 Mon Sep 17 00:00:00 2001 From: Caleb Weinreb Date: Tue, 2 Apr 2024 23:17:06 -0400 Subject: [PATCH 2/2] unpin opencv version for python>3.8 --- README.md | 3 +++ docs/source/install.rst | 6 +++++- setup.cfg | 5 +++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d765970..3b8d410 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,9 @@ conda create -n snub python=3.8 conda activate snub pip install systems-neuro-browser ``` + +**Note: Python version 3.8 is required for Linux. For Windows and MacOS, any version ≥3.8 should work.** + To speed up selections, `pip install ncls`. To install optional developer dependencies, `pip install systems-neuro-browser[dev]`. The docs include more detailed [installation instructions](https://snub.readthedocs.io/en/latest/install.html). ## Getting Started diff --git a/docs/source/install.rst b/docs/source/install.rst index 5ca87a8..dabff6b 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -2,13 +2,17 @@ Installation ============ Install Conda ----------------- +------------- Install `Anaconda `_ or `Miniconda `_. Create and activate an environment called ``snub`` with python≥3.8:: conda create -n snub python=3.8 conda activate snub +.. note:: + Python version 3.8 is required for Linux. For Windows and MacOS, any version ≥3.8 should work. + + Install SNUB ------------ diff --git a/setup.cfg b/setup.cfg index 1237d87..0507a5b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,7 +12,7 @@ classifiers = [options] packages = find: include_package_data = True -python_requires = >=3.8, <3.9 +python_requires = >=3.8 install_requires = PyQt5 numpy @@ -29,7 +29,8 @@ install_requires = ipykernel pyqtgraph networkx - opencv-python==4.1.2.30 + opencv-python; python_version > '3.8' + opencv-python==4.1.2.30; python_version == '3.8' vidio>=0.0.3 pynwb ndx-pose