Skip to content

Commit 5f878f9

Browse files
committed
[conda] use pip for conda recipe instead of calling python setup.py
otherwise, dependencies aren't resolved properly by the setuptools-created wrapper scripts.
1 parent 800af8d commit 5f878f9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

conda.recipe/meta.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ source:
1212

1313
build:
1414
number: {{ GIT_DESCRIBE_NUMBER }}
15-
script: python setup.py install --single-version-externally-managed --record=record.txt
15+
script: pip install --no-deps .
1616

1717
requirements:
1818
build:
1919
- python
20-
- setuptools
20+
- pip
2121

2222
run:
2323
- python
@@ -30,7 +30,6 @@ requirements:
3030
- nbconvert >=4.2
3131
- notebook >=4.0
3232
- pyyaml
33-
- setuptools
3433
- tornado
3534
- traitlets >=4.1
3635
- lxml >=3.8.0

0 commit comments

Comments
 (0)