Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Iterate
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Apr 6, 2023
1 parent bd88ac7 commit 9bcc3a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/build-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dependencies:
- pydata-sphinx-theme
- yarn
- jupyterlab
- empack >=2.0.9,<3
- pip:
- jupyterlite-core==0.1.0
- jupyterlite-sphinx
- git+https://github.com/martinRenou/empack.git@pip
- ..
3 changes: 1 addition & 2 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ channels:
dependencies:
- numpy
- matplotlib
- ipycanvas
- mpmath
- pip:
- sympy
- ipycanvas
8 changes: 6 additions & 2 deletions jupyterlite_xeus_python/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from subprocess import check_call, run, DEVNULL
from typing import List
from urllib.parse import urlparse
import sys

import yaml

Expand All @@ -25,7 +26,9 @@
MICROMAMBA_COMMAND = shutil.which("micromamba")
CONDA_COMMAND = shutil.which("conda")

PYTHON_VERSION = "3.10"
PYTHON_MAJOR = 3
PYTHON_MINOR = 10
PYTHON_VERSION = f"{PYTHON_MAJOR}.{PYTHON_MINOR}"

CHANNELS = [
"https://repo.mamba.pm/emscripten-forge",
Expand Down Expand Up @@ -125,8 +128,9 @@ def _install_pip_dependencies(prefix_path, dependencies):
*dependencies,
"--prefix",
prefix_path,
"--python-version",
PYTHON_VERSION,
"--no-input",
"--no-deps",
"--verbose",
],
check=True,
Expand Down

0 comments on commit 9bcc3a2

Please sign in to comment.