Skip to content

Commit

Permalink
chore: update RTD env and add make command
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Feb 22, 2024
1 parent 048933e commit 83d4199
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 36 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,12 @@ release_check:

changelog:
semantic-release changelog
# create ReadTheDocs yml
RTD_env:
mamba remove --name RTD_env --all --yes
mamba create --name RTD_env --yes --force python==3.11 polartoolkit
mamba env export --name RTD_env --no-builds --from-history > env/RTD_env.yml
# delete last line
sed -i '$$d' env/RTD_env.yml
# add pip and install local package
sed -i '$$a\ - pip\n - pip:\n - ../.[docs]' env/RTD_env.yml
40 changes: 4 additions & 36 deletions env/RTD_env.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,9 @@
# Requirements for building the documentation
name: invert4geom
name: RTD_env
channels:
- conda-forge
- defaults
dependencies:
- python>=3.8
- pip
# Run-time
- numpy
- pandas
- xarray
- verde>=1.8.0
- rioxarray
- pykdtree
- xrft>=1.0
- harmonica>=0.6.0
- python==3.11
- polartoolkit
- numba
- scipy
- nptyping
- numba-progress
- tqdm
- pygmt
- dask
# opti
# - optuna>=3.1.0
# - botorch>=0.4.0
# - psutil
# - joblib
# docs
- sphinx>=4.0
- myst-parser
- sphinx-copybutton
- sphinx-autodoc-typehints
- sphinx-book-theme>=0.3
- sphinx-design
- nbsphinx
- pip
- pip:
- tqdm_joblib
- ../.
- ../.[docs]

0 comments on commit 83d4199

Please sign in to comment.