Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Louis committed Jul 3, 2023
1 parent 19fac97 commit f196fe9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ def parse_line(line):
info['version'] = (op, version)

if is_running_on_colab() and info['package'] == 'xtcocotools':
# Due to an incompatibility between the Colab platform and the
# pre-built xtcocotools PyPI package, it is necessary to
# compile xtcocotools from source on Colab. Therefore, we use
# the source code from the GitHub repository.
info = dict(
line=info['line'],
package='xtcocotools@'
Expand Down

0 comments on commit f196fe9

Please sign in to comment.