Skip to content

Commit 1735fe9

Browse files
Merge pull request #204 from DiamondLightSource/minimise-conda-in-installation
Minimise conda usage in installation process
2 parents c7a985f + 899a8a0 commit 1735fe9

File tree

13 files changed

+21
-202
lines changed

13 files changed

+21
-202
lines changed

.github/workflows/httomolibgpu_tests_run_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@v2
2929
with:
30-
environment-file: conda/environment.yml
3130
environment-name: httomo
31+
create-args: >-
32+
cupy==12.3.0
33+
ccpi::ccpi-regulariser
3234
post-cleanup: 'all'
3335
init-shell: bash
3436

.github/workflows/httomolibgpu_version_tag.yml

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

.github/workflows/httomolibgpu_zenodotests_iris.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ jobs:
2424
- name: Create conda environment
2525
uses: mamba-org/setup-micromamba@v1
2626
with:
27-
environment-file: conda/environment.yml
2827
environment-name: httomo
28+
create-args: >-
29+
cupy==12.3.0
30+
ccpi::ccpi-regulariser
2931
post-cleanup: 'all'
3032
init-shell: bash
3133

.github/workflows/main-checks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ jobs:
2323
- name: Create conda environment
2424
uses: mamba-org/setup-micromamba@v1
2525
with:
26-
environment-file: conda/environment.yml
2726
environment-name: httomo
27+
create-args: >-
28+
cupy==12.3.0
29+
ccpi::ccpi-regulariser
2830
post-cleanup: 'all'
2931
init-shell: bash
3032

.scripts/conda_upload.sh

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

.scripts/decrypt_secret.sh

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

.scripts/my_secret.json.gpg

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.rst

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,25 @@ Although **HTTomolibGPU** can be used as a stand-alone library, it has been spec
1414
its backend for data processing. HTTomo is a user interface (UI) written in Python for fast big tomographic data processing using
1515
MPI protocols or as well serially.
1616

17-
Install HTTomolibGPU as a PyPi package
18-
=========================================================
19-
.. code-block:: console
17+
Installation
18+
============
2019

21-
$ pip install httomolibgpu
20+
HTTomolibGPU is available on PyPI, but currently can only be installed into a conda environment
21+
(due to a dependency being available only through conda).
2222

23-
Install HTTomolibGPU as a pre-built conda Python package
24-
=========================================================
2523
.. code-block:: console
2624
2725
$ conda create --name httomolibgpu # create a fresh conda environment
2826
$ conda activate httomolibgpu # activate the environment
29-
$ conda install -c httomo httomolibgpu -c conda-forge # for linux users
27+
$ conda install -c ccpi -c conda-forge ccpi-regulariser cupy==12.3.0 # for linux users
28+
$ pip install httomolibgpu
3029
3130
Setup the development environment:
3231
==================================
3332

3433
.. code-block:: console
3534
3635
$ git clone [email protected]:DiamondLightSource/httomolibgpu.git # clone the repo
37-
$ conda env create --name httomolibgpu --file conda/environment.yml # install dependencies
36+
$ conda env create --name httomolibgpu -c ccpi -c conda-forge ccpi-regulariser cupy==12.3.0 # install dependencies
3837
$ conda activate httomolibgpu # activate the environment
39-
$ pip install -e .[dev] # editable/development mode
40-
41-
Build HTTomolibGPU as a conda Python package
42-
============================================
43-
44-
.. code-block:: console
45-
46-
$ conda build conda/recipe/ -c conda-forge -c httomo
47-
38+
$ pip install -e ./httomolibgpu[dev] # editable/development mode

conda/environment.yml

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

conda/recipe/conda_build_config.yaml

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

0 commit comments

Comments
 (0)