Here is a quick tutorial on how to locally install the package.
cd into the project directory:
cd my-package2Create and activate a new conda environment:
conda create -n my-package2_env python=<max_python_version>
conda activate my-package2_envIt's simple. The only command required is the following:
pip install -e .The above command will automatically install the dependencies listed in
requirements/pip.txt.
If you haven't already, ensure you have the conda-forge channel added as the highest priority channel.
conda config --add channels conda-forgeInstall the dependencies listed under conda.txt:
conda install --file requirements/conda.txtThen install your Python package locally:
pip install -e . --no-deps
--no-depsis used to avoid installing the dependencies inrequirements/pip.txtsince they are already installed in the previous step.
Verify the installation:
pip listGreat! The package is now importable in any Python scripts located on your local machine. For more information, please refer to the Level 4 documentation at https://billingegroup.github.io/scikit-package/.