Skip to content

Commit

Permalink
Fix sdist?
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronreidsmith committed Sep 25, 2024
1 parent aa4d4cc commit 47b3642
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ def do_setup():
from setuptools import setup
print("Setting up with setuptools")

os.environ.pop("SETUPTOOLS_USE_DISTUTILS", None)

# TODO: distutils is removed in Python 3.12+, so this should probably be the default
if IS_PYTHON_312:
from setuptools import Extension
Expand Down

0 comments on commit 47b3642

Please sign in to comment.