Skip to content

Commit 1d885a6

Browse files
Use setuptools instead of distutils (#349)
distutils is deprecated
1 parent faaa488 commit 1d885a6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import sys
22
import os
33

4-
import setuptools # may monkeypatch distutils in some versions. # noqa
5-
from distutils.command.sdist import sdist
6-
from distutils.core import setup
4+
from setuptools import setup
75

86
from numpydoc import __version__ as version
97

@@ -60,5 +58,4 @@ def read(fname):
6058
'tests/tinybuild/*.py',
6159
'templates/*.rst',
6260
]},
63-
cmdclass={"sdist": sdist},
6461
)

0 commit comments

Comments
 (0)