From b5ef6a5cb77bb0287a58e6a23f6499f302db1df0 Mon Sep 17 00:00:00 2001 From: Todd Miller Date: Thu, 28 Mar 2024 15:01:32 -0400 Subject: [PATCH] Removed setup-jh-dev which never worked consistently Typo in LICENSE. Added myself as maintainer. --- LICENSE | 2 +- package.json | 4 ++++ setup-jh-dev | 41 ----------------------------------------- 3 files changed, 5 insertions(+), 42 deletions(-) delete mode 100644 setup-jh-dev diff --git a/LICENSE b/LICENSE index b8b6541..9d842e0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ BSD 3-Clause License Copyright (c) 2020, Josh Geden All rights reserved. -Copyrigth (c) 2024, Space Telescope Science Institute, All rights reserved. +Copyright (c) 2024, Space Telescope Science Institute, All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/package.json b/package.json index 1e16336..4685ba1 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,10 @@ "name": "Josh Geden", "email": "jgeden@lbl.gov" }, + "maintainers": { + "name": "Todd Miller", + "e-mail": "jmiller@stsci.edu" + }, "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,.js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", diff --git a/setup-jh-dev b/setup-jh-dev deleted file mode 100644 index 107d7e2..0000000 --- a/setup-jh-dev +++ /dev/null @@ -1,41 +0,0 @@ -#! /bin/bash - -# Copy and paste this into an executable shell script on the hub. -## Check out the stsci-announce repo for live work in -## a JupyterHub notebook session. - -set -eux - -if [[ $# != 1 ]]; then - echo "usage: $0 " - exit 1 -else - BRANCH=$1 -fi - -git clone https://github.com/jaytmiller/stsci-announce.git - -cd stsci-announce -git fetch origin -git checkout ${BRANCH} - -source ~/.bashrc -conda activate base - -# Partial install may fail, but enables jlpm for below -set +e -pip install . -set -e - -jlpm run clean -jlpm run build -jlpm install - -pip install -ve . -jupyter labextension develop . --overwrite - -# Will "update" to broken dependencies? -# jlpm add @jupyterlab/application @lumino/widgets @jupyterlab/statusbar @jupyterlab/apputils @jupyterlab/settingregistry - -jlpm run build -# jupyter labextension install .