From 3d07d23fcf6d37b02319df4c97a280a33a8dcad4 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Mon, 21 Aug 2023 10:41:24 +0200 Subject: [PATCH] install via pip --- .github/workflows/deploy.yml | 15 +++++++-------- requirements.txt | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 8 deletions(-) create mode 100644 requirements.txt diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8fa9a802..10153d3e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..1440aab7 --- /dev/null +++ b/requirements.txt @@ -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