Skip to content

Commit

Permalink
Remove mentions/building of conda packages
Browse files Browse the repository at this point in the history
There are still no coremltools packages we can use
  • Loading branch information
mittagessen committed Oct 21, 2024
1 parent 5a2af52 commit bf7bf15
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 122 deletions.
46 changes: 1 addition & 45 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,53 +61,9 @@ jobs:
name: pypi_packages
path: dist/*

build-n-publish-anaconda:
name: Build and publish anaconda packages
needs: lint_and_test
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.9
miniforge-variant: Mambaforge
- name: install dependencies build
shell: bash -l {0}
run: mamba install colorama pip ruamel ruamel.yaml rich jsonschema conda-verify anaconda-client
- name: Build linux-64 conda package
uses: prefix-dev/[email protected]
with:
recipe-path: "conda/recipe.yaml"
build-args: "--experimental --target-platform linux-64"
- name: Build osx-64 conda package
uses: prefix-dev/[email protected]
with:
recipe-path: "conda/recipe.yaml"
build-args: "--experimental --target-platform osx-64"
# - name: Build osx-arm64 conda package
# uses: prefix-dev/[email protected]
# with:
# recipe-path: "conda/recipe.yaml"
# build-args: "--experimental --target-platform osx-arm64"
- name: Upload conda package
run: |
for pkg in $(find output -type f \( -name "*.conda" -o -name "*.tar.bz2" \) ); do
echo "Uploading ${pkg}"
rattler-build upload anaconda -o mittagessen -a ${{ secrets.ANACONDA_TOKEN }} "${pkg}"
done
- name: Upload conda artifacts to GH storage
uses: actions/upload-artifact@v4
with:
name: conda_packages
path: output/*/*.conda

autodraft-gh-release:
name: Create github release
needs: [build-n-publish-anaconda, build-n-publish-pypi]
needs: build-n-publish-pypi
runs-on: ubuntu-latest

steps:
Expand Down
8 changes: 1 addition & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,12 @@ Installation

kraken only runs on **Linux or Mac OS X**. Windows is not supported.

The latest stable releases can be installed either from `PyPi <https://pypi.org>`_:
The latest stable releases can be installed from `PyPi <https://pypi.org>`_:

::

$ pip install kraken

or through `conda <https://anaconda.org>`_:

::

$ conda install -c conda-forge -c mittagessen kraken

If you want direct PDF and multi-image TIFF/JPEG2000 support it is necessary to
install the `pdf` extras package for PyPi:

Expand Down
55 changes: 0 additions & 55 deletions conda/recipe.yaml

This file was deleted.

20 changes: 5 additions & 15 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,22 +67,12 @@ or
respectively.

Installation using Conda
------------------------
Development Branch Installation using Conda
-------------------------------------------

To install the stable version through `conda <https://anaconda.org>`_:

.. code-block:: console
$ conda install -c conda-forge -c mittagessen kraken
Again PDF/multi-page TIFF/JPEG2000 support requires some additional dependencies:

.. code-block:: console
$ conda install -c conda-forge pyvips
The git repository contains some environment files that aid in setting up the latest development version:
To install the latest development branch through `conda
<https://anaconda.org>`_ clone the kraken git repository and install with the
provided environment files:

.. code-block:: console
Expand Down

0 comments on commit bf7bf15

Please sign in to comment.