We created this project for you to show you the minimal requirements for building and installing a python package with setuptools, pip and conda.
conda create -y -n 'conda-hands-on' python=3.7 conda-build conda-verify conda-smithy setuptools pip -c conda-forge
conda activate conda-hands-on
python setup.py install
pip install .
# Create a local channel (and use it later in conda-build)
# This block is optional and the build might work
# without this if your defaults are set well.
conda smithy conda.recipe # Lint recipe
mkdir ~/conda-bld # Create folder which will act as a local channel
conda index ~/conda-bld # Set up local channel
export CONDA_BLD_PATH=~/conda-bld # Specify build path
# Build and Install Package
conda-build conda.recipe # Uses $CONDA_BLD_PATH implicitly
conda install my-package -c $CONDA_BLD_PATH