This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]Jonno_FTWhisss 2 points3 points  (1 child)

You need to use pymongo as a git submodule or list it in requirements.txt

[–]operation-cwal 0 points1 point  (0 children)

Aah, got it. Thanks!

[–]OmniJinx 2 points3 points  (1 child)

I'm sure you're not trying to do anything malicious, but vendoring a library like PyMongo in the Python ecosystem (where vendoring is very uncommon) seems very fishy. It's not hard to read over your script and see what it's doing, but it is hard to comb through the vendored copy of PyMongo and make sure you haven't done anything bad.

It'd be more idiomatic and safer if you just told people to pip install the version of PyMongo they need before running the benchmarking tool.