mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-04-15 06:57:28 +00:00
This commit adds python linters as it improves the code quality. Travis CI is enabled to run linters on each PR to make sure it follows the best practices and doesn't break the tool.
16 lines
297 B
Python
16 lines
297 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 (<38.3)!")
|
|
sys.exit(1)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
setup()
|