Closed sdmccabe closed 4 years ago
Is including the license at the bottom of nbd.py
the way I've done sufficient?
Seems confusing/troubling that the build passed before I had added ortools
to requirements.txt
; should double-check that before merging.
And now it's failing with ortools
in requirements.
The tests passed in the previous case because NBD wasn't imported in the case of an ImportError
in that module, a workaround we had previously used when adding NBD. So this all looks good to me, as long as it (in particular the license stuff) looks good to other people.
This resolves #232 and helps with #267 by replacing the POT-based earthmover's distance implementation with Jeremy Kun's newly MIT-licensed implementation based on
ortools
. His implementation is not on pypi so the relevant functions are reproduced (with the license) innbd.py
. This removes the Cython and POT workarounds we had in.travis.yml
andrequirements.txt
to handle its installation. This will hopefully make for a smoother experience with test builds.