Skip to content

Commit 62235a3

Browse files
committed
BLD: conda recipe for anaconda.org support
1 parent 2ce55ec commit 62235a3

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

Diff for: conda_recipe/conda.yaml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
package:
2+
name: autograd
3+
# there are ways to derive version from other sources; for now, it's hard-coded
4+
version: 1.1.1
5+
6+
source:
7+
{% if not environ.get('BINSTAR_PLATFORM', None) %}
8+
git_url: ../
9+
{% else %}
10+
# we're building on binstar, we already have the repo; treat as local path
11+
path: ../
12+
{% endif %}
13+
14+
requirements:
15+
build:
16+
- python
17+
- setuptools
18+
- future
19+
- numpy >=1.9
20+
21+
run:
22+
- python
23+
- future
24+
- numpy >=1.9
25+
26+
build:
27+
script: python setup.py build && python setup.py install
28+
29+
test:
30+
# Python imports
31+
imports:
32+
- autograd
33+
- autograd.numpy
34+
35+
about:
36+
home: https://github.com/HIPS/autograd
37+
license: MIT
38+
summary: 'Efficiently computes derivatives of numpy code.'

0 commit comments

Comments
 (0)