https://pantsbuild.org/ logo
#general
Title
# general
r

rapid-crayon-8232

12/15/2019, 4:50 PM
and with
notebook.py
having:
Copy code
import sys

from notebook.notebookapp import main

if __name__ == "__main__":
    sys.exit(main())
a

aloof-angle-91616

12/15/2019, 11:42 PM
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

rapid-crayon-8232

12/16/2019, 9:12 AM
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
3 Views