Anki/anki/__init__.py
Damien Elmes 15b349e3a8 start port to python 3
unit tests pass and main screens of GUI load
2016-05-12 14:45:35 +10:00

17 lines
494 B
Python

# -*- coding: utf-8 -*-
# Copyright: Damien Elmes <anki@ichi2.net>
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import sys
import os
import platform
import json
if sys.version_info[0] < 3:
raise Exception("Anki should be run with Python 3")
elif sys.version_info[1] < 4:
raise Exception("Anki requires Python 3.4+")
version="2.0.36" # build scripts grep this line, so preserve formatting
from anki.storage import Collection
__all__ = ["Collection"]