conda-forge / conda-forge/python-blosc-feedstock

Using `script_env` to set environment variables across platforms

Open
#61 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
0
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Currently the following is used to set `USE_SYSTEM_BLOSC` to `1` on different platforms

https://github.com/conda-forge/python-blosc-feedstock/blob/97c8fadf3a08fbd295c177a8459a9927fff92b21/recipe/meta.yaml#L14-L16

Though this can be done generally via [`script_env`]( https://docs.conda.io/projects/conda-build/en/stable/resources/define-metadata.html#use-environment-variables )

```yaml
script_env:
- USE_SYSTEM_BLOSC=1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.