Gregorio Litenstein
Gregorio Litenstein

Reputation: 627

Python3: Is there any package/function/script to get a reference to a package's metadata (egg-info or dist-info) ON DISK?

I have very little experience with (i.e. don't really know) python but I'm currently trying to produce a mac app bundle for a package (and ideally after, a script to make it reproducible).

I've tried several approaches but made the most progress by combining py2app, gtk-mac-bundler and good old shell scripting. Still, this produces due to missing distributions (I realized yesterday it's caused by missing egg/dist-info, which are not supported and have been on the py2app feature request list since forever)

Of course, I could just copy all these files in a dumb way, using glob patterns in my shell but I fear that would go against reproducible builds in the future. So, is there any way by which I can get a reference to the files on disk, taking a package name or similar as an argument?

Upvotes: 0

Views: 57

Answers (1)

Related Questions