Skip to content

Commit

Permalink
Running jupyter on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
prasunanand committed Oct 6, 2024
1 parent 9a65676 commit 178f49b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/electron-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: zasper-0.1.0-arm64.dmg
path: ui/dist
path: ui/dist/zasper-0.1.0-arm64.dmg

- name: Create Release Asset
if: github.event_name == 'release'
Expand Down
22 changes: 12 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@ module zasper_go
go 1.23

require (
github.com/creack/pty v1.1.23 // indirect
github.com/creack/pty v1.1.23
github.com/go-zeromq/zmq4 v0.17.0
github.com/google/uuid v1.6.0
github.com/gorilla/mux v1.8.1
github.com/gorilla/websocket v1.5.3
github.com/pebbe/zmq4 v1.2.11
github.com/rs/cors v1.11.0
github.com/rs/zerolog v1.33.0
golang.org/x/exp v0.0.0-20240716175740-e3f259677ff7
)

require (
github.com/go-zeromq/goczmq/v4 v4.2.2 // indirect
github.com/go-zeromq/zmq4 v0.17.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/mux v1.8.1 // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-sqlite3 v1.14.22 // indirect
github.com/pebbe/zmq4 v1.2.11 // indirect
github.com/rs/cors v1.11.0 // indirect
github.com/rs/zerolog v1.33.0 // indirect
golang.org/x/exp v0.0.0-20240716175740-e3f259677ff7 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/text v0.15.0 // indirect
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/
github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU=
github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
github.com/pebbe/zmq4 v1.2.11 h1:Ua5mgIaZeabUGnH7tqswkUcjkL7JYGai5e8v4hpEU9Q=
github.com/pebbe/zmq4 v1.2.11/go.mod h1:nqnPueOapVhE2wItZ0uOErngczsJdLOGkebMxaO8r48=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
Expand Down
1 change: 1 addition & 0 deletions utils/paths.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func GetJupyterPath() []string {
paths = append(paths, "/home/prasun/.local/jupyter")
paths = append(paths, "/usr/local/share/jupyter")
paths = append(paths, "/home/prasun/.local/share/jupyter/") // todo : check
paths = append(paths, "/Users/prasunanand/Library/Python/3.9/share/jupyter")
return paths
}

Expand Down

0 comments on commit 178f49b

Please sign in to comment.