Commit e8a8a653 authored by alina's avatar alina

removed validations from setup.py

parent c7b5d739
......@@ -4,13 +4,6 @@
from distutils.core import setup, Extension, Command
import platform
# CHECK dependencies
# Linux kernel >= 2.6.36
l = platform.uname()[2].split("-")[0].split(".")
l.reverse()
if sum( int(l[i])*pow(10,i) for i in xrange(len(l))) < 296:
raise RuntimeError("Linux kernel >= 2.6.36 is required")
setup(
name = 'netns',
version = '0.1',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment