Skip to content

Commit 58a96e7

Browse files
committed
Fix stored version in conda packages
Update conda recipe to build sdist and then install it so that versioneer's version logic runs properly
1 parent cbf9b84 commit 58a96e7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: packages/python/plotly/recipe/meta.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ source:
1010

1111
build:
1212
number: 0
13-
script: "cd packages/python/plotly; {{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -q"
13+
script: |
14+
cd packages/python/plotly
15+
{{ PYTHON }} setup.py sdist
16+
{{ PYTHON }} -m pip install dist/plotly-{{ version }}.tar.gz --no-deps --ignore-installed --no-cache-dir -q
1417
noarch: python
1518

1619
requirements:

0 commit comments

Comments
 (0)