diff --git a/docs/mdx_math_setup.py b/docs/mdx_math_setup.py index 8ffc2c7a9..7d870e5c3 100755 --- a/docs/mdx_math_setup.py +++ b/docs/mdx_math_setup.py @@ -30,7 +30,7 @@ SUCH DAMAGE. """ -from distutils.core import setup +from setuptools import setup long_description = """This extension adds math formulas support to Python-Markdown_ (works with version 2.6 or newer). diff --git a/mlxtend/frequent_patterns/fpcommon.py b/mlxtend/frequent_patterns/fpcommon.py index 0181e7104..b1a514cd1 100644 --- a/mlxtend/frequent_patterns/fpcommon.py +++ b/mlxtend/frequent_patterns/fpcommon.py @@ -1,6 +1,5 @@ import collections import warnings -from distutils.version import LooseVersion as Version import numpy as np import pandas as pd