Bug 1877348 - Remove the try/except wrappers that end up calling distutils.core.setup r=firefox-build-system-reviewers,glandium

This is one of the last references to `distutils` within `mach`, so
let's get rid of it to be thorough.

Differential Revision: https://phabricator.services.mozilla.com/D199951
This commit is contained in:
ahochheiden
2024-02-08 21:07:27 +00:00
parent 21b62ee8eb
commit 89eb6c797b
2 changed files with 2 additions and 9 deletions

View File

@@ -4,11 +4,7 @@
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from setuptools import setup
VERSION = "1.0.0"
HERE = os.path.dirname(__file__)

View File

@@ -2,10 +2,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from setuptools import setup
VERSION = "0.1"