takluyver / nbopen

Open a Jupyter notebook in the best available server
BSD 3-Clause "New" or "Revised" License
301 stars 58 forks source link

create app bundle with py2app for os x #6

Closed artwr closed 9 years ago

artwr commented 9 years ago

Here is an attempt at an install script on Mac OS X

takluyver commented 9 years ago

Thanks, this fixes #5.

grahamrow commented 9 years ago

Trying to use this with python3 installed via homebrew. The nbopen script works great from command line, but whenever I try to launch via the .app from the Finder it launches a server that seems unaware of iPython. I get the following in Console.app:

7/22/15 11:44:10.779 PM nbopen[36306]: /path/to/nbopen/dist/nbopen.app/Contents/MacOS/python: Error while finding spec for 'IPython.kernel' (<class 'ImportError'>: No module named 'IPython')

I tried adding --includes IPython to the python3 setup.py py2app command to no avail. Any suggestions? Thanks for the software!

takluyver commented 9 years ago

Sorry, I don't know much about py2app and how it works.