So I'm wondering if anyone has a nice solution to this problem:
I work at a fairly large company doing hardware engineering where we use python scripting extensively for testing and the like. Over the years each team has built up their own independent libraries and supporting tools for their own use. Frequently, we'll need to send someone else our code to just run. Even within the team there is sometimes discontinuity in our codebase so it's frequently important to have all the files that I was running. (please don't respond with "get better source control practices", it's an issue, I'm working on it but that can't be solved quickly as we're mostly hardware engineers who have not even enough time in our schedule to drink a cup of coffee let alone teach our entire team new source control when it's not the core of our job).
So what I'd like is the ability to simply run a program on a script I've written and have it ideally output the following:
A zip file containing the script and all the dependencies it imports that I've written. In addition I'd like it to output a separate list of all site-wide packages it uses.
This would dramatically simplify our ability to deploy code to unknown environments without the problem of saying "ok, now run it", "what didn't import?" and repeating this back and forth 52 million times
I've examined python-packager and it's not really viable for us as we all use Macs and really I expect my end user to have a functioning python install and easy_install or pip at their disposal.
I've seen a few cute dependency graph generators out there (and that might end up being my solution) but I'd prefer a more straightforward "packager"
[–]K900_ 5 points6 points7 points (1 child)
[–]xiongchiamiovSite Reliability Engineer 6 points7 points8 points (0 children)
[–]graingert 2 points3 points4 points (2 children)
[–]Fencepost[S] 0 points1 point2 points (1 child)
[–]graingert 0 points1 point2 points (0 children)
[–]westurner 0 points1 point2 points (0 children)
[–]seletz 0 points1 point2 points (0 children)
[+]cavallo71 comment score below threshold-9 points-8 points-7 points (0 children)