Skip to content
Permalink
Browse files
Enforce setuptools version
  • Loading branch information
romainthomas committed Oct 18, 2017
1 parent 8db199c commit 62e5825
Showing 1 changed file with 6 additions and 0 deletions.
@@ -1,5 +1,11 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

MIN_SETUPTOOLS_VERSION = "36.4.0"
import setuptools
from distutils.version import LooseVersion
assert (LooseVersion(setuptools.__version__) >= LooseVersion(MIN_SETUPTOOLS_VERSION)), "LIEF requires a setuptools version '{}' or higher".format(MIN_SETUPTOOLS_VERSION)

from setuptools import setup
from setuptools.command.build_ext import build_ext
from distutils.dir_util import remove_tree, mkpath

0 comments on commit 62e5825

Please sign in to comment.