Skip to content

Commit

Permalink
Use setuptools.command.build.build instead of deprecated distutils (C…
Browse files Browse the repository at this point in the history
…hia-Network#122)

```
        /private/var/folders/k6/yt391w5n017djpb0378ncm3c0000gn/T/pip-build-env-n4anwt9p/overlay/lib/python3.11/site-packages/setuptools/command/build.py:22: SetuptoolsDeprecationWarning:
                    It seems that you are using `distutils.command.build` to add
                    new subcommands. Using `distutils` directly is considered deprecated,
                    please use `setuptools.command.build`.
```
  • Loading branch information
altendky authored and mattxlee committed Sep 14, 2022
1 parent 8b7674b commit 981b253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -4,11 +4,11 @@
import shutil
import subprocess
import sys
from distutils.command.build import build # type: ignore
from distutils.command.install import install
from distutils.version import LooseVersion

from setuptools import Command, Extension, setup, setuptools
from setuptools.command.build import build
from setuptools.command.build_ext import build_ext

BUILD_HOOKS = []
Expand Down

0 comments on commit 981b253

Please sign in to comment.