lasio icon indicating copy to clipboard operation
lasio copied to clipboard

Put on conda-forge

Open kinverarity1 opened this issue 4 years ago • 2 comments

I should get lasio on to conda-forge.

See #231 for a starting point.

kinverarity1 avatar Jul 21 '19 02:07 kinverarity1

I have got myself very stuck on this issue trying to get a working conda build recipe. Any help would be much appreciated.

kinverarity1 avatar Apr 09 '21 07:04 kinverarity1

I've submitted a PR for conda-forge here: https://github.com/conda-forge/staged-recipes/pull/24515

I notice that anaconda themselves seem to be maintaining a recipe here: https://anaconda.org/services/lasio

I also updated my own channel here: https://anaconda.org/kinverarity/lasio

The meta.yaml that I used to do the last build (and have used for the conda-forge PR) is:

{% set name = "lasio" %}
{% set version = "0.31" %}

package:
  name: "{{ name|lower }}"
  version: "{{ version }}"

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: 5dd3c4baa3f2c89bc95ca8e052dc37fe86363c687199c93fd0fae80c597e63e5

build:
  number: 0
  noarch: python
  script: "{{ PYTHON }} -m pip install . -vv"
  entry_points:
    - las2excel = lasio.excel:main
    - las2excelbulk = lasio.excel:main_bulk
    - lasversionconvert = lasio.convert_version:convert_version
    - lasio = lasio:version

requirements:
  host:
    - pip
    - python >=3.7
    - setuptools_scm
  run:
    - python >=3.7
    - numpy
    - pandas
    - chardet
    - openpyxl

test:
  imports:
    - lasio

about:
  home: "https://github.com/kinverarity1/lasio"
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: "Read/write well data from Log ASCII Standard (LAS) files"

extra:
  recipe-maintainers:
    - kinverarity1

kinverarity1 avatar Nov 17 '23 03:11 kinverarity1