def get_version(svn=False, limit=3):
    v = '.'.join([str(i) for i in VERSION[:limit]])
    if svn and limit >= 3:
        from django.utils.version import get_svn_revision
        import os
        svn_rev = get_svn_revision(os.path.dirname(__file__))
        if svn_rev:
            v = '%s.%s' % (v, svn_rev)
    return v
Extracts an archive's contents to the specified outdir.
dataset/ETHPy150Open robcharlwood/django-mothertongue/mothertongue/__init__.py/get_version--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/fs/archive.py/Archiver.extract