Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8abdeaf

Browse files
committed
Add pyproject.toml to conda recipe
1 parent 634c787 commit 8abdeaf

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.circleci/config.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -406,15 +406,15 @@ jobs:
406406
cp -R dist ../../../output
407407
git status
408408
409-
# - run:
410-
# name: Conda Build
411-
# command: |
412-
# eval "$(conda shell.bash hook)"
413-
# conda activate env
414-
# cd packages/python/plotly
415-
# conda build recipe/
416-
# mv /opt/conda/envs/env/conda-bld/noarch/plotly*.tar.bz2 ../../../output
417-
# git status
409+
- run:
410+
name: Conda Build
411+
command: |
412+
eval "$(conda shell.bash hook)"
413+
conda activate env
414+
cd packages/python/plotly
415+
conda build recipe/
416+
mv /opt/conda/envs/env/conda-bld/noarch/plotly*.tar.bz2 ../../../output
417+
git status
418418
419419
- run:
420420
name: Build Widget javascript bundle
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
python:
2-
- 3.8
2+
- 3.10

packages/python/plotly/recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set data = load_setup_py_data(setup_file='../setup.py', from_recipe_dir=True) %}
1+
{% set data = load_file_data('../pyproject.toml') %}
22
{% set version = data.get('version') %}
33

44
package:

0 commit comments

Comments
 (0)