Commit 5b3f3899 authored by Michal Čihař's avatar Michal Čihař

Check for Python 2.7 requirement

Fixes #423
parent 688d9a86
......@@ -23,6 +23,7 @@
from distutils.version import LooseVersion
from weblate import GIT_VERSION
import importlib
import sys
def get_version_module(module, name, url, optional=False):
......@@ -82,6 +83,13 @@ def get_versions():
'''
result = []
result.append((
'Python',
'http://www.python.org/',
sys.version.split()[0],
'2.7',
))
name = 'Django'
url = 'https://www.djangoproject.com/'
mod = get_version_module('django', name, url)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment