mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-26 04:32:51 +01:00
setup: explicitly forbid installing on Python 2 (#297)
(cherry picked from commit e1d857653e
)
This commit is contained in:
parent
a56e464eb6
commit
63a81b87d8
5
setup.py
5
setup.py
@ -1,5 +1,10 @@
|
|||||||
"""Setup module for PyLink IRC Services."""
|
"""Setup module for PyLink IRC Services."""
|
||||||
|
|
||||||
|
import sys
|
||||||
|
|
||||||
|
if sys.version_info < (3, 4):
|
||||||
|
raise RuntimeError("PyLink requires Python 3.4 or higher.")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
Loading…
Reference in New Issue
Block a user