Skip to content

Commit

Permalink
try distutils -> setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
davidszotten committed Oct 11, 2023
1 parent 3eb8029 commit 659a838
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/runbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@


def build_lib_dirname():
from distutils.dist import Distribution
from distutils.command.build import build
from setuptools import Distribution
from setuptools.command import build
build_cmd = build(Distribution({"ext_modules": True}))
build_cmd.finalize_options()
return build_cmd.build_lib
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
import sys
from distutils.core import setup, Extension
from setuptools import setup, Extension

## Command-line argument parsing

Expand Down

0 comments on commit 659a838

Please sign in to comment.