Skip to content

kwagoner94/my-package2

Repository files navigation

my-package2

Here is a quick tutorial on how to locally install the package.

How to install my-package2 locally

cd into the project directory:

cd my-package2

Create and activate a new conda environment:

conda create -n my-package2_env python=<max_python_version>
conda activate my-package2_env

Method 1: Install your package with dependencies sourced from pip

It'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.

Method 2: Install your package with dependencies sourced from conda

If you haven't already, ensure you have the conda-forge channel added as the highest priority channel.

conda config --add channels conda-forge

Install the dependencies listed under conda.txt:

conda install --file requirements/conda.txt

Then install your Python package locally:

pip install -e . --no-deps

--no-deps is used to avoid installing the dependencies in requirements/pip.txt since they are already installed in the previous step.

Verify your package has been installed

Verify the installation:

pip list

Great! 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/.

About

another try

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages