Skip to content

Commit bd72b15

Browse files
authored
updated dependency on distutils for python 3.12 and above (rasbt#1072)
* updated dependency on distutils for python 3.12 and above * removed unused import
1 parent c0afb78 commit bd72b15

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/mdx_math_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
SUCH DAMAGE.
3131
"""
3232

33-
from distutils.core import setup
33+
from setuptools import setup
3434

3535
long_description = """This extension adds math formulas support to Python-Markdown_
3636
(works with version 2.6 or newer).

mlxtend/frequent_patterns/fpcommon.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import collections
22
import warnings
3-
from distutils.version import LooseVersion as Version
43

54
import numpy as np
65
import pandas as pd

0 commit comments

Comments
 (0)