Skip to content

Commit

Permalink
test [testpypi]
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Jun 7, 2024
1 parent 9b2db26 commit f8dfd56
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ jobs:
run: python -m pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ camb

- name: test
run: time python -m unittest camb.tests.camb_test
run: python -m unittest camb.tests.camb_test
2 changes: 1 addition & 1 deletion docs/source/fortran_compilers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This includes in Jupyter notebooks; just re-start the kernel or use::
import IPython
IPython.Application.instance().kernel.do_shutdown(True)

If you want to automamatically rebuild the library from Jupyter you can do something like this::
If you want to automatically rebuild the library from Jupyter you can do something like this::

import subprocess
import sys
Expand Down
8 changes: 4 additions & 4 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ If you want to work on the code from `GitHub <https://github.com/cmbant/camb>`_,
pip install -e ./CAMB [--user]

You will need ifort or gfortran 6 or higher installed (and on your path) to compile; see :ref:`fortran-compilers` for
compiler installation details if needed. A compiled library for Windows is also provided, and is used if no
gfortran installation is found on Windows machines. If you have gfortran installed, "python setup.py make" will build
compiler installation details if needed. If you have gfortran installed, "python setup.py make" will build
the Fortran library on all systems (including Windows without directly using a Makefile), and can be used to update
a source installation after changes or pulling an updated version.

The standard pip installation includes binary pre-compiled code, so no need for a Fortran compiler
(unless you want to use custom sources/symbolic compilation features).
Anaconda users can also install from conda-forge, best making a new clean environment using::

conda create -n camb -c conda-forge python=3.9 camb
conda create -n camb -c conda-forge python=3.11 camb
activate camb

with no need for a Fortran compiler (unless you want to use custom sources/symbolic compilation features).
Check that conda installs the latest version, if not try installing
in a new clean conda environment as above.

Expand Down

0 comments on commit f8dfd56

Please sign in to comment.