Skip to content

Commit d534eda

Browse files
Merge pull request #49 from DiamondLightSource/minimise-conda-in-installation
Minimise conda usage in installation process
2 parents 31c642e + fdafea0 commit d534eda

File tree

4 files changed

+12
-20
lines changed

4 files changed

+12
-20
lines changed

.github/workflows/run_tests_iris.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ jobs:
2727
- name: Create conda environment
2828
uses: mamba-org/setup-micromamba@v1
2929
with:
30-
environment-file: conda/environment.yml
3130
environment-name: httomo_backends
31+
create-args: >-
32+
cupy==12.3.0
33+
ccpi::ccpi-regulariser
3234
post-cleanup: 'all'
3335
init-shell: bash
3436

README.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,15 @@ Purpose of HTTomo-backends
1111
* Supporting scripts to calculate memory, size and padding estimators of the methods
1212

1313

14-
Install HTTomo-backends
15-
=======================
14+
Installation
15+
============
16+
17+
HTTomo-backends is available on PyPI, but currently can only be installed into a conda
18+
environment (due to a dependency being available only through conda).
1619

1720
.. code-block:: console
1821
22+
$ conda create --name httomo-backends
23+
$ conda activate httomo-backends
24+
$ conda install -c ccpi -c conda-forge ccpi-regulariser cupy==12.3.0
1925
$ pip install httomo-backends
20-

conda/environment.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ dependencies = [
5555
"astra-toolbox",
5656
"tomobar",
5757
"scikit-image",
58+
"ccpi-regularisation-cupy",
5859
]
5960

6061
[project.optional-dependencies]

0 commit comments

Comments
 (0)