Skip to content

Commit

Permalink
Merge pull request #117 from DigitalSlideArchive/fix-setup.py
Browse files Browse the repository at this point in the history
Fix analysis extras.
  • Loading branch information
manthey authored Dec 8, 2021
2 parents 31054df + 214691e commit b7ca339
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 14 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ jobs:
- tox:
env: py39
- coverage
noanalysis:
executor: toxandnode
steps:
- checkout
- tox:
env: noanalysis
- coverage
lint_and_docs:
executor: toxandnode
steps:
Expand Down Expand Up @@ -111,6 +118,13 @@ workflows:
branches:
ignore:
- gh-pages
- noanalysis:
filters:
tags:
only: /^v.*/
branches:
ignore:
- gh-pages
- lint_and_docs:
filters:
tags:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ venv/
ENV/

node_modules/
tests/externaldata

.pre-commit-config.yaml
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Prerequisites:

.. code-block:: bash
pip install histomicsui --find-links https://girder.github.io/large_image_wheels
pip install histomicsui[analysis] --find-links https://girder.github.io/large_image_wheels
girder build
girder serve
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ def prerelease_local_scheme(version):
'Programming Language :: Python :: 3.9',
],
install_requires=[
'girder-large-image-annotation>=1.4.2',
'girder-large-image-annotation==1.8.11',
'girder-slicer-cli-web>=1.2.3',
],
extras_require={
'analysis': [
'girder-slicer-cli-web[girder]>=1.2.0',
'girder-slicer-cli-web[girder]>=1.2.3',
],
},
license='Apache Software License 2.0',
Expand Down
2 changes: 1 addition & 1 deletion tests/web_client_specs/analysisSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/* global huiTest */

girderTest.importPlugin('jobs', 'worker', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.importPlugin('jobs', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.addScript('/static/built/plugins/histomicsui/huiTest.js');

girderTest.promise.done(function () {
Expand Down
2 changes: 1 addition & 1 deletion tests/web_client_specs/annotationSpec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* global huiTest */

girderTest.importPlugin('jobs', 'worker', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.importPlugin('jobs', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.addScript('/static/built/plugins/histomicsui/huiTest.js');

function asciiToUint8Array(text) {
Expand Down
2 changes: 1 addition & 1 deletion tests/web_client_specs/girderUISpec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
girderTest.importPlugin('jobs', 'worker', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.importPlugin('jobs', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');

girderTest.startApp();

Expand Down
2 changes: 1 addition & 1 deletion tests/web_client_specs/huiSpec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* globals girder, girderTest, describe, it, expect, waitsFor, runs */

girderTest.importPlugin('jobs', 'worker', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.importPlugin('jobs', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');

girderTest.startApp();

Expand Down
2 changes: 1 addition & 1 deletion tests/web_client_specs/itemSpec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* globals girder, girderTest, describe, it, expect, waitsFor, runs */

girderTest.importPlugin('jobs', 'worker', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.importPlugin('jobs', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');

girderTest.startApp();

Expand Down
2 changes: 1 addition & 1 deletion tests/web_client_specs/metadataPanelSpec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* global huiTest */

girderTest.importPlugin('jobs', 'worker', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.importPlugin('jobs', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.addScript('/static/built/plugins/histomicsui/huiTest.js');

girderTest.promise.done(function () {
Expand Down
2 changes: 1 addition & 1 deletion tests/web_client_specs/metadataPlotSpec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* global huiTest */

girderTest.importPlugin('jobs', 'worker', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.importPlugin('jobs', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.addScript('/static/built/plugins/histomicsui/huiTest.js');

girderTest.promise.done(function () {
Expand Down
2 changes: 1 addition & 1 deletion tests/web_client_specs/overviewPanelSpec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* global huiTest */

girderTest.importPlugin('jobs', 'worker', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.importPlugin('jobs', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.addScript('/static/built/plugins/histomicsui/huiTest.js');

girderTest.promise.done(function () {
Expand Down
2 changes: 1 addition & 1 deletion tests/web_client_specs/panelLayoutSpec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* global huiTest */

girderTest.importPlugin('jobs', 'worker', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.importPlugin('jobs', 'large_image', 'large_image_annotation', 'slicer_cli_web', 'histomicsui');
girderTest.addScript('/static/built/plugins/histomicsui/huiTest.js');

girderTest.promise.done(function () {
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ deps =
pytest-cov
pytest-girder>=3.0.5
pytest-xdist
celery!=4.4.4,<5
urllib3<1.26
-rrequirements-dev.txt
extras =
Expand All @@ -36,6 +35,9 @@ setenv =
NPM_CONFIG_PREFER_OFFLINE=true
PIP_FIND_LINKS=https://girder.github.io/large_image_wheels

[testenv:noanalysis]
extras =

[testenv:flake8]
skipsdist = true
skip_install = true
Expand Down

0 comments on commit b7ca339

Please sign in to comment.