<commit_before>import sys

is_64bits = sys.maxsize > 2**32
major = '2'
minor = sys.version_info[1]
plat = sys.platform

root = 'http://chandlerproject.org/pub/Projects/MeTooCrypto/'

releases = {
  (False, 7, 'darwin'): root + 'M2Crypto-0.21.1-py2.7-macosx-10.8-intel.egg',
  (True, 5, 'darwin'): root + 'M2Crypto-0.21.1-py2.5-macosx-10.8-x86_64.egg',
  (False, 7, 'darwin'): root + 'M2Crypto-0.21.1-py2.7-macosx-10.7-intel.egg',
  (True, 7, 'darwin'): root + 'M2Crypto-0.21.1-py2.7-macosx-10.7-intel.egg',
  (True, 5, 'darwin'): root + 'M2Crypto-0.21.1-py2.5-macosx-10.7-x86_64.egg',
  (False, 5, 'darwin'): root + 'M2Crypto-0.21.1-py2.5-macosx-10.5-i386.egg',
  (True, 6, 'darwin'): root + 'M2Crypto-0.21.1-py2.6-macosx-10.6-universal.egg',
  (True, 5, 'darwin'): root + 'M2Crypto-0.21.1-py2.5-macosx-10.6-i386.egg',
  (True, 7, 'linux2'): 'http://ziade.org/M2Crypto-0.21.1-py2.7-linux-x86_64.egg',
  (True, 6, 'linux2'): 'http://ziade.org/M2Crypto-0.21.1-py2.6-linux-x86_64.egg',
  (False, 7, 'linux2'): 'http://alexis.notmyidea.org/M2Crypto-0.21.1-py2.7-linux-i686.egg',
  (False, 6, 'linux2'): 'http://alexis.notmyidea.org/M2Crypto-0.21.1-py2.6-linux-i686.egg',
}

print releases[is_64bits, minor, plat]<commit_msg>fallback to the source tarball<commit_after>import sys

is_64bits = sys.maxsize > 2**32
major = '2'
minor = sys.version_info[1]
plat = sys.platform

root = 'http://chandlerproject.org/pub/Projects/MeTooCrypto/'

releases = {
  (False, 7, 'darwin'): root + 'M2Crypto-0.21.1-py2.7-macosx-10.8-intel.egg',
  (True, 5, 'darwin'): root + 'M2Crypto-0.21.1-py2.5-macosx-10.8-x86_64.egg',
  (False, 7, 'darwin'): root + 'M2Crypto-0.21.1-py2.7-macosx-10.7-intel.egg',
  (True, 7, 'darwin'): root + 'M2Crypto-0.21.1-py2.7-macosx-10.7-intel.egg',
  (True, 5, 'darwin'): root + 'M2Crypto-0.21.1-py2.5-macosx-10.7-x86_64.egg',
  (False, 5, 'darwin'): root + 'M2Crypto-0.21.1-py2.5-macosx-10.5-i386.egg',
  (True, 6, 'darwin'): root + 'M2Crypto-0.21.1-py2.6-macosx-10.6-universal.egg',
  (True, 5, 'darwin'): root + 'M2Crypto-0.21.1-py2.5-macosx-10.6-i386.egg',
  (True, 7, 'linux2'): 'http://ziade.org/M2Crypto-0.21.1-py2.7-linux-x86_64.egg',
  (True, 6, 'linux2'): 'http://ziade.org/M2Crypto-0.21.1-py2.6-linux-x86_64.egg',
  (False, 7, 'linux2'): 'http://alexis.notmyidea.org/M2Crypto-0.21.1-py2.7-linux-i686.egg',
  (False, 6, 'linux2'): 'http://alexis.notmyidea.org/M2Crypto-0.21.1-py2.6-linux-i686.egg',
}

try:
    print releases[is_64bits, minor, plat]
except KeyError:
    print 'http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-0.21.1.tar.gz'
{'fraction_non_alphanumeric': 0.23870716510903428, 'fraction_numerical': 0.1277258566978193, 'mean_word_length': 3.687956204379562, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '689186', 'n_tokens_mistral': 1432, 'n_tokens_neox': 1289, 'n_words': 156}