8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21aabd6 commit c562f28Copy full SHA for c562f28
setup.py
@@ -1,9 +1,17 @@
1
+from __future__ import print_function
2
+
3
import ast
4
import codecs
5
+import sys
6
7
from os.path import join, dirname
-from setuptools import setup, find_packages
8
+from setuptools import setup, find_packages, __version__ as setuptools_version
9
+from pkg_resources import parse_version
10
11
+if parse_version(setuptools_version) < parse_version("18.5"):
12
+ print("html5lib requires setuptools version 18.5 or above; "
13
+ "please upgrade before installing (you have %s)" % setuptools_version)
14
+ sys.exit(1)
15
16
classifiers = [
17
'Development Status :: 5 - Production/Stable',
0 commit comments