xonsh / amalgamate

Collapses Python packages into a single module.
BSD 3-Clause "New" or "Revised" License
28 stars 7 forks source link

Support graph building from a module path #7

Open goodboy opened 7 years ago

goodboy commented 7 years ago

@scopatz I realize there's a bit of duplication here with make_graph() (which I'm hoping you can help me factor out) but I needed a way to be able to hand in a simple module path so that I can use amalgamate to compile code to ship to remote systems using execnet.

Let me know what you think and what tests I should write if needed. Thanks!

scopatz commented 7 years ago

Hey @tgoodlet - sorry for taking a million years to get back to you, and thanks for putting this in! The function you added looks good, but is it meant to be used from within amalgamate or externally as a library? Either way is fine for me....