3 ms·
Thanks for the comments on Bazel -- I am evaluating a proper build system for us right now for a data science codebase almost entirely in Python, with a lot of
by sarabande 9y ago
Thanks for the comments on Bazel -- I am evaluating a proper build system for us right now for a data science codebase almost entirely in Python, with a lot of scientific computing dependencies. Bazel doesn't yet seem to have first-class support for Python, so that's out, and I'm running into a lot of problems with Twitter Pants, although their Slack channel is really helpful.
Did you ever try using Pants or Buck, or a more barebones approach like Ninja?
P.S.: An explanation of the pun on "Basil Fawlty" (as a non-Brit, I thought, what on earth is that?) in the article might be helpful.
- humanrebar 9y agoYou might have figured it out already, but: "The plots centre on tense, rude and put-upon owner Basil Fawlty (Cleese)..." https://en.wikipedia.org/wiki/Fawlty_Towers https://en.wikipedia.org/wiki/Fawlty_Towers
- philbarr 9y agoClassic Basil Fawlty scene when his car breaks down (needs sound, includes swearing): https://www.youtube.com/watch?v=mv0onXhyLlE https://www.youtube.com/watch?v=mv0onXhyLlE Imagine the car is your build tool...
- mnw21cam 9y agoWhich more recently gave rise to this [0] advert. [0] https://www.youtube.com/watch?v=n9tSN0178Us https://www.youtube.com/watch?v=n9tSN0178Us
- danmux 9y agoGlad it can help show you some of the pitfalls, though I'm not sure how well our experience extrapolates to a primarily python codebase. I have added a link to the classic scene as referenced by philbarr
- danmux 9y agoAlso as you work with Python, you may want to look at the link between Basil Fawlty and your chosen language :)
- nine_k 9y ago(For a mostly-Python shop, I'd consider using [Search domain github.com] https://github.com/waf-project/waf https://github.com/waf-project/waf or scons.org)
- jasikpark 9y agoUsing `pipenv`[0] may solve some of your problems, though idk about provisioning cpp dependencies. [0]https://github.com/pypa/pipenv https://github.com/pypa/pipenv
- davidstanke 9y agoBazel + Python definitely needs some work; if you're interested, check out the recently-formed https://groups.google.com/forum/#!forum/bazel-sig-python https://groups.google.com/forum/#!forum/bazel-sig-python to track progress.