-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from FredKellerman/image_v3.0.1
Upgrade to v3.0.1
- Loading branch information
Showing
11 changed files
with
90 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#! /bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
# Pull in env vars like PYNQ_JUPYTER_NOTEBOOKS to this script | ||
. /etc/environment | ||
for f in /etc/profile.d/*.sh; do source $f; done | ||
|
||
pip3 install pynq-dpu==2.5.1 --no-build-isolation | ||
cd $PYNQ_JUPYTER_NOTEBOOKS | ||
pynq get-notebooks pynq-dpu -p . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
// Extension Manager | ||
// @jupyterlab/extensionmanager-extension:plugin | ||
// Extension manager settings. | ||
// ********************************************* | ||
|
||
// Disclaimed Status | ||
// Whether the user understand that extensions managed through this interface run arbitrary code that may be dangerous | ||
"disclaimed": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
target=$1 | ||
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
|
||
# Enabled plugins for JupyterLab | ||
sudo mkdir -p $target/root/.jupyter/lab/user-settings/@jupyterlab/extensionmanager-extension | ||
sudo cp $script_dir/plugin.jupyterlab-settings $target/root/.jupyter/lab/user-settings/@jupyterlab/extensionmanager-extension/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#! /bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
# Prep to install ipycanvas Jupyter Lab extension, it needs npm, PYNQ provides nodejs | ||
#curl -L https://www.npmjs.org/install.sh | sh | ||
|
||
source /etc/profile.d/pynq_venv.sh | ||
|
||
# Install the package then install / compile it as a Jupyter Lab extension | ||
pip3 install ipycanvas orjson | ||
#jupyter labextension install @jupyter-widgets/jupyterlab-manager ipycanvas --no-build | ||
#jupyter lab build | ||
#jupyter labextension install ipycanvas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#! /bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
# Pull in env vars like PYNQ_JUPYTER_NOTEBOOKS to this script | ||
. /etc/environment | ||
for f in /etc/profile.d/*.sh; do source $f; done | ||
|
||
cd $PYNQ_JUPYTER_NOTEBOOKS | ||
git clone https://github.com/FredKellerman/PYNQ-juliabrot -b v1.0.3 | ||
cd PYNQ-juliabrot | ||
rm -rf .git | ||
rm .gitignore | ||
echo "https://github.com/FredKellerman/PYNQ-juliabrot" > github-url.txt | ||
chown -R xilinx:xilinx ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#! /bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
# Upgrade from v3.0.0 & v3.0.1 to fix hierarchy detection for v3.0.x | ||
python3 -m pip install pynqmetadata==0.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters