Skip to content

Commit

Permalink
Merge pull request #131 from OMS-NetZero/conda
Browse files Browse the repository at this point in the history
conda set up
  • Loading branch information
chrisroadmap authored Sep 27, 2023
2 parents 9e88f2f + 19633fb commit 31ed7a9
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conda-build/build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt
if errorlevel 1 exit 1
1 change: 1 addition & 0 deletions conda-build/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$PYTHON setup.py install --single-version-externally-managed --record=record.txt
6 changes: 6 additions & 0 deletions conda-build/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
python:
- 3.7
- 3.8
- 3.9
- 3.10
- 3.11
36 changes: 36 additions & 0 deletions conda-build/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{% set version = environ.get('GIT_DESCRIBE_TAG', 'default').lstrip('v') %}

package:
name: fair
version: {{ version.split("+")[0] }}

source:
git_url: ../

build:
noarch: python

requirements:
host:
- python
- setuptools
build:
- python {{ python }}
run:
- python
- numpy
- pandas
- pooch
- scipy
- tqdm
- xarray

about:
home: https://github.com/OMS-NetZero/FAIR
license: Apache-2.0
license_file: LICENSE
summary: "Finite-amplitude Impulse Response simple climate model."

extra:
recipe-maintainers:
- chrisroadmap

0 comments on commit 31ed7a9

Please sign in to comment.