How can I check if my shared library's code, my pr...
# general
b
How can I check if my shared library's code, my project's code and 3rd party libraries exist in my pex binary of a project? (If I choose layout=loose). Also how can I confirm if the files are copied inside the docker image? (I am following a similar packaging structure as in this blog post)
s
pex binary is just a zip file, you can unzip it and find your code inside
b
In my root directory, I can see it creates
dist
folder and there it saves the pex_binary. But I don't see my project's files. I think it's probably related to my setup and how I create my BUILD files, I have shared my example setup in the other thread.
w
I think that, without a lot more information, it would be hard to help out. To Gregory's point - if you run
pants package ::
and it generates pex files in
./dist
- just do an
unzip blah.pex
. Assuming that's what you mean when you can't see your project files, then you'd have to show your BUILD files at the very least.