Skip to content

Commit

Permalink
install via pip
Browse files Browse the repository at this point in the history
  • Loading branch information
fneum committed Aug 21, 2023
1 parent 144346f commit 3d07d23
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,18 @@ jobs:
- uses: actions/checkout@v2

# Install dependencies
- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@main
- name: Setup Python
uses: actions/setup-python@v4
with:
environment-file: environment.yaml
environment-name: esm
cache-downloads: true
cache-env: true
python-version: '3.11'
cache: 'pip' # caching pip dependencies

- name: Install environment with pip
run: pip install -r requirements.txt

# Build the book
- name: Build the book
run: |
eval "$(micromamba shell hook --shell=bash)"
micromamba activate esm
jupyter-book build data-science-for-esm
# Deploy the book's HTML to gh-pages branch
Expand Down
34 changes: 34 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
numpy
scipy
pandas>=2
geopandas>=0.13.2
xarray
networkx
pyyaml
pyomo>=6.5
netcdf4
pypsa>=0.25.1
atlite>=0.2.11
powerplantmatching>=0.5.7
rasterio>=1.3.2
ipython
jupyterlab
tabula-py
xlrd
lxml
tables
pyxlsb
openpyxl
shapely>2
pyepsg
cartopy>=0.22
country-converter
matplotlib>=3.6
plotly
hvplot
holoviews[recommended]
geoviews>=1.10
graphviz
jupyter-book
ghp-import
highspy>=1.5.3

0 comments on commit 3d07d23

Please sign in to comment.