cjekel / piecewise_linear_fit_py

fit piecewise linear data for a specified number of line segments
MIT License
289 stars 59 forks source link

add installation instructions for conda-forge #89

Closed h-vetinari closed 2 years ago

h-vetinari commented 2 years ago

Hey all

Conda-forge has been providing packages for pwlf since over a year, I think it's time that this is also made "official" here on the source repository. 🙃

If there are any questions regarding the "feedstock" where the packages are built, please let me know.

cjekel commented 2 years ago

Sorry I forgot about this. Thanks again for creating + maintaining the conda forge builds!


Should also add changes to: sphinxdocs/source/installation.rst

How about this division since things are getting long.

# Installation

## Python Package Index (PyPI)

You can now install with pip.

`[sudo] pip install pwlf`

## Conda

If you have conda, you can also install from conda-forge.

`conda install -c conda-forge pwlf`

## From source

Or clone the repo

`git clone https://github.com/cjekel/piecewise_linear_fit_py.git`

then install with pip

`[sudo] pip install ./piecewise_linear_fit_py`

I'll roll a patch release for this to get it updated on the PyPi page and documentation.

Could also add this badge Conda next to the pypi badge.

[![Conda](https://img.shields.io/conda/vn/conda-forge/pwlf)](https://anaconda.org/conda-forge/pwlf)
cjekel commented 2 years ago

Thanks for maintaining the conda builds. I'll push a patch within a week to get this to show up on the documentation and on the pypi page. LGTM!