Skip to content

Commit c373ccd

Browse files
committed
Add recipe for Skala
1 parent 661b277 commit c373ccd

File tree

2 files changed

+91
-0
lines changed

2 files changed

+91
-0
lines changed

recipes/skala/build_py.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
set -ex
3+
4+
${PYTHON} -m pip install . -vv --no-deps --no-build-isolation

recipes/skala/meta.yaml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{% set name = "skala" %}
2+
{% set version = "1.0.0" %}
3+
4+
package:
5+
name: {{ name|lower }}
6+
version: {{ version }}
7+
8+
source:
9+
url: https://github.com/microsoft/skala/archive/v{{ version }}.tar.gz
10+
sha256: 1b66153b732c7cb4205ccab7274bad4b367cd3c4f783ac4214bfb7f356a3449e
11+
12+
build:
13+
number: 0
14+
15+
outputs:
16+
- name: skala
17+
build:
18+
noarch: python
19+
script: build_py.sh
20+
21+
requirements:
22+
host:
23+
- pip
24+
- python {{ python_min }}
25+
- setuptools
26+
run:
27+
- ase
28+
- azure-core
29+
- azure-identity
30+
- dftd3-python
31+
- e3nn
32+
- huggingface_hub
33+
- numpy
34+
- opt_einsum_fx
35+
- pyscf <2.10.0
36+
- python >={{ python_min }}
37+
- pytorch
38+
- qcelemental
39+
40+
test:
41+
imports:
42+
- skala
43+
commands:
44+
- pip check
45+
requires:
46+
- pip
47+
- python {{ python_min }}
48+
49+
- name: microsoft-skala
50+
build:
51+
noarch: generic
52+
53+
requirements:
54+
run:
55+
- {{ pin_subpackage("skala", exact=True) }}
56+
57+
test:
58+
imports:
59+
- skala
60+
commands:
61+
- pip check
62+
requires:
63+
- pip
64+
- python {{ python_min }}
65+
66+
test:
67+
imports:
68+
- skala
69+
commands:
70+
- pip check
71+
requires:
72+
- pip
73+
- python {{ python_min }}
74+
75+
about:
76+
home: https://www.microsoft.com/en-us/research/project/dft/
77+
dev_url: https://github.com/microsoft/skala
78+
doc_url: https://microsoft.github.io/skala
79+
summary: Skala Exchange Correlation Functional
80+
license: MIT
81+
license_file:
82+
- NOTICE.md
83+
- LICENSE.txt
84+
85+
extra:
86+
recipe-maintainers:
87+
- awvwgk

0 commit comments

Comments
 (0)