Skip to content

neutrons/histogram-dev

 
 

Repository files navigation

Histogram

histogram data object

Installation

Package Build and Installation Instructions

  1. Python wheel

.. code-block:: shell

$ python -m build --wheel --no-isolation
$ check-wheel-contents dist/histogram_*.whl
  1. Conda package

.. code-block:: shell

# create a conda package
$ cd conda.recipe
$ echo "versioningit $(versioningit ../)"
$ CHANNELS="--channel mcvine --channel conda-forge"
$ VERSION=$(versioningit ../) conda mambabuild $CHANNELS --output-folder . .
$ conda verify noarch/histogram-*.tar.bz2
# install a local conda package
$ conda install noarch/<histogram.tar.bz2 file>

Installation Instructions for editable mode

.. code-block:: shell

$ pip install -e .
  • Tests

    In root directory of histogram-dev,type

    .. code-block:: shell

    pytest

  • Documentation


CI codecov

Packages

No packages published

Languages

  • Python 73.1%
  • C++ 19.1%
  • Makefile 5.4%
  • CMake 1.6%
  • Other 0.8%