mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +01:00
setup: explicitly forbid installing on Python 2 (#297)
This commit is contained in:
parent
accd5b70b3
commit
e1d857653e
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