diff options
-rw-r--r-- | astroid/__pkginfo__.py | 7 | ||||
-rw-r--r-- | setup.py | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/astroid/__pkginfo__.py b/astroid/__pkginfo__.py index fe08afb9..8cfe3dbc 100644 --- a/astroid/__pkginfo__.py +++ b/astroid/__pkginfo__.py @@ -6,8 +6,6 @@ # For details: https://github.com/PyCQA/astroid/blob/master/COPYING.LESSER """astroid packaging information""" -import sys - distname = 'astroid' modname = 'astroid' @@ -15,10 +13,9 @@ modname = 'astroid' numversion = (1, 5, 0) version = '.'.join([str(num) for num in numversion]) +extras_require = {} install_requires = ['lazy_object_proxy', 'six', 'wrapt'] - -if sys.version_info < (3, 4): - install_requires += ['enum34', 'singledispatch'] +extras_require[':python_version<"3.4"'] = ['enum34', 'singledispatch'] # pylint: disable=redefined-builtin; why license is a builtin anyway? license = 'LGPL' @@ -53,6 +53,7 @@ def install(): url = web, include_package_data = True, install_requires = install_requires, + extras_require=extras_require, packages = find_packages(), cmdclass={'install_lib': AstroidInstallLib, 'easy_install': AstroidEasyInstallLib} |