rapid-crayon-8232
10/06/2019, 8:45 PMcustom_tensorflow_op
, but that is just for wrapping and loading the .so file (the repo I want to add : https://github.com/facebookresearch/maskrcnn-benchmark)aloof-angle-91616
10/07/2019, 1:29 AMaloof-angle-91616
10/07/2019, 1:32 AMmaskrcnn-benchmark
source code, and test those out? or just to consume the released version of the library in your python code?aloof-angle-91616
10/07/2019, 1:33 AMaloof-angle-91616
10/07/2019, 1:34 AMaloof-angle-91616
10/07/2019, 1:37 AMrapid-crayon-8232
10/07/2019, 7:48 AMrapid-crayon-8232
10/07/2019, 8:07 AMrapid-crayon-8232
10/07/2019, 8:11 AMmaskrcnn-benchmark
source code (and define the version with commit/tag/ branch)aloof-angle-91616
10/09/2019, 6:15 PMsetup.py
-based projects vendored into the codebase (e.g. with a submodule) by adding a BUILD file declaring a python_dist()
target in that directory. i can make a quick example repo for you today. sorry for the delayed response! i'm still here and would like to help you with this!aloof-angle-91616
10/09/2019, 6:21 PMaloof-angle-91616
10/09/2019, 6:22 PMpython_dist()
target in a BUILD file and then you can depend on it as a python library basically so you can try it yourself probablyaloof-angle-91616
10/09/2019, 6:23 PMpython_dist()
but we moved it to another workflow. pants actually provides gcc and llvm compile/link toolchains on osx and linux so you don't have to (and will pull them down from the internet if necessary). so we could add that back to python_dist()
if that's a use case you need.aloof-angle-91616
10/09/2019, 6:24 PMmaskrcnn-benchmark
later today, just a hectic day atmrapid-crayon-8232
10/10/2019, 9:26 AMpython_dist
, an example would be appreciated, thanks 🙂aloof-angle-91616
10/10/2019, 4:17 PMaloof-angle-91616
10/10/2019, 4:50 PMaloof-angle-91616
10/10/2019, 5:42 PMResult
section links to my example repo at https://github.com/cosmicexplorer/example-pants-python-dist -- we'll need to merge this and then release it before you can use it in your repo normally, but before then you can use the instructions to run pants from source after checking out that PRrapid-crayon-8232
10/10/2019, 5:43 PMaloof-angle-91616
10/10/2019, 5:43 PMaloof-angle-91616
10/10/2019, 5:43 PMrapid-crayon-8232
10/15/2019, 10:50 AMaloof-angle-91616
10/15/2019, 3:25 PMaloof-angle-91616
10/15/2019, 3:25 PM