and with `notebook.py` having: ```import sys from...
# general
r
and with
notebook.py
having:
Copy code
import sys

from notebook.notebookapp import main

if __name__ == "__main__":
    sys.exit(main())
a
so i think the answer is "yes", but i'm not 100% sure on what you're looking for. this
BUILD
and
notebook.py
look correct -- i'm just not as familiar with bundling jupyter notebooks as i'd like to be
r
actually the pex file is correctly bundled in this case, it's just that when running the jupyter notebook the
sys.path
does not point to the pex file (so that I can import
package1
and
package2
) and I need to add a
sys.path.append()
at the top of the notebook for the dependencies to be available