Skip to content

Commit

Permalink
Moved spinnaker-python to optional dependency and added instructions …
Browse files Browse the repository at this point in the history
…on ReadMe
  • Loading branch information
hannalee2 committed Apr 29, 2024
1 parent 654f9ad commit b41ec7b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ To upgrate to the latest version:
pip install parallax-app --upgrade
```

3. To install camera interface:
```bash
pip install parallax-app[camera]
```

### Running Parallax
```bash
python -m parallax
Expand Down
8 changes: 8 additions & 0 deletions docs/ReadMe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ To upgrate to the latest version:
pip install parallax-app --upgrade
3. To install camera interface:

.. code-block:: bash
pip install parallax-app[camera]
Running Parallax
=========================

Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ dependencies = [
"PyQt5>=5.15",
"pyqtgraph",
"opencv-python",
"spinnaker-python",
"scipy",
"pandas",
"scikit-image",
Expand All @@ -42,6 +41,10 @@ dev = [
'parallax-app[linters]'
]

camera = [
"spinnaker-python"
]

linters = [
'codespell',
'coverage',
Expand Down

0 comments on commit b41ec7b

Please sign in to comment.