Raise min Python version to 3.5
This commit is contained in:
parent
4f1ba653e1
commit
1d2c3d9fbc
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
### Runtime Requirements
|
### Runtime Requirements
|
||||||
|
|
||||||
- python3.4 or higher
|
- python3.5 or higher
|
||||||
- python3-gi
|
- python3-gi
|
||||||
- python3-gi-cairo
|
- python3-gi-cairo
|
||||||
- gir1.2-gtk-3.0 (>=3.22)
|
- gir1.2-gtk-3.0 (>=3.22)
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -3,8 +3,8 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if sys.version_info[0] < 3:
|
if sys.version_info[0] < (3, 5):
|
||||||
sys.exit('Tried to install with Python 2, gajim only supports Python 3.')
|
sys.exit('Gajim needs Python 3.5+')
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
from setuptools import Command
|
from setuptools import Command
|
||||||
|
|
Loading…
Reference in New Issue