File: install-upstream-dev.sh

package info (click to toggle)
xarray-safe-rcm 2026.01.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 216 kB
  • sloc: python: 1,083; sh: 23; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 727 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash

if command -v micromamba >/dev/null; then
  conda=micromamba
elif command -v mamba >/dev/null; then
  conda=mamba
else
  conda=conda
fi
conda remove -y --force cytoolz numpy xarray toolz fsspec python-dateutil pandas lxml xmlschema rioxarray
python -m pip install \
  -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
  --no-deps \
  --pre \
  --upgrade \
  numpy \
  pandas \
  xarray
python -m pip install --upgrade \
  git+https://github.com/pytoolz/toolz \
  git+https://github.com/lxml/lxml \
  git+https://github.com/sissaschool/xmlschema \
  git+https://github.com/fsspec/filesystem_spec \
  git+https://github.com/dateutil/dateutil \
  git+https://github.com/corteva/rioxarray