bdist_wheel.sh 410 B

123456789101112131415
  1. #!/bin/bash
  2. set -e
  3. if ! command -v jlpm &> /dev/null
  4. then
  5. pip install --no-build-isolation --no-deps -e $(dirname "$0") -i https://pypi.douban.com/simple
  6. fi
  7. jlpm install --ignore-scripts
  8. jlpm build:dev:prod:release
  9. rm -rf jupyterlab/schemas jupyterlab/static jupyterlab/themes jupyterlab/style.js
  10. cp -r dev_mode/schemas dev_mode/static dev_mode/themes dev_mode/style.js jupyterlab
  11. python -m build -wxn