Developing BITS#

Install for development#

For development and other activities, replace the pip command above with:

1export INSTALL_ENVIRONMENT_NAME=apsbits_env
2git clone github.com:BCDA-APS/BITS.git
3cd BITS
4conda create -y -n "${INSTALL_ENVIRONMENT_NAME}" python=3.11 pyepics
5conda activate "${INSTALL_ENVIRONMENT_NAME}"
6pip install -e ."[all]"

Testing#

Use this command to run the test suite locally:

1pytest -vvv --lf ./src

Documentation#

Use this command to build the documentation locally:

1make -C docs clean html

The documentation source is located in files and directories under ./docs/source. Various examples are provided.

Documentation can be added in these formats: [.rst](https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html) (reStructured text), [.md](https://en.wikipedia.org/wiki/Markdown) (markdown), and [.ipynb](https://jupyter.org/) (Jupyter notebook). For more information, see the [Sphinx](https://www.sphinx-doc.org/) documentation.