mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-03-24 20:38:49 +00:00
Fixes #1143 - Updated error message to clearly state that version 38.3 or newer is required Signed-off-by: Surbhi <agarwalsurbhi1807@gmail.com> Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com>
16 lines
327 B
Python
16 lines
327 B
Python
# -*- coding: utf-8 -*-
|
|
import sys
|
|
|
|
from pkg_resources import VersionConflict, require
|
|
from setuptools import setup
|
|
|
|
try:
|
|
require("setuptools>=38.3")
|
|
except VersionConflict:
|
|
print("Error: version of setuptools is too old! Please install version 38.3 or newer.")
|
|
sys.exit(1)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
setup()
|