1. Instructions for installing and uninstalling h5pywrappers
1.1. Installing h5pywrappers
For all installation scenarios, first open up the appropriate command line interface. On Unix-based systems, you could open e.g. a terminal. On Windows systems you could open e.g. an Anaconda Prompt as an administrator.
1.1.1. Installing h5pywrappers using pip
Before installing h5pywrappers, make sure that you have activated the
(virtual) environment in which you intend to install said package. After which,
simply run the following command:
pip install h5pywrappers
The above command will install the latest stable version of h5pywrappers.
To install the latest development version from the main branch of the h5pywrappers GitHub repository, one must first clone the repository by running the following command:
git clone https://github.com/mrfitzpa/h5pywrappers.git
Next, change into the root of the cloned repository, and then run the following command:
pip install .
Note that you must include the period as well. The above command executes a
standard installation of h5pywrappers.
Optionally, for additional features in h5pywrappers, one can install
additional dependencies upon installing h5pywrappers. To install a subset of
additional dependencies (along with the standard installation), run the
following command from the root of the repository:
pip install .[<selector>]
where <selector> can be one of the following:
tests: to install the dependencies necessary for running unit tests;examples: to install the dependencies necessary for executing files stored in<root>/examples, where<root>is the root of the repository;docs: to install the dependencies necessary for documentation generation;all: to install all of the above optional dependencies.
Alternatively, one can run:
pip install h5pywrappers[<selector>]
elsewhere in order to install the latest stable version of h5pywrappers,
along with the subset of additional dependencies specified by <selector>.
1.1.2. Installing h5pywrappers using conda
Before proceeding, make sure that you have activated the (virtual) conda
environment in which you intend to install said package.
To install h5pywrappers using the conda package manager, run the
following command:
conda install -c conda-forge h5pywrappers
The above command will install the latest stable version of h5pywrappers.
1.2. Uninstalling h5pywrappers
If h5pywrappers was installed using pip, then to uninstall, run the
following command:
pip uninstall h5pywrappers
If h5pywrappers was installed using conda, then to uninstall, run the
following command:
conda remove h5pywrappers