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:
@@ -4,11 +4,7 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
try:
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
except ImportError:
|
|
||||||
from distutils.core import setup
|
|
||||||
|
|
||||||
|
|
||||||
VERSION = "1.0.0"
|
VERSION = "1.0.0"
|
||||||
HERE = os.path.dirname(__file__)
|
HERE = os.path.dirname(__file__)
|
||||||
|
|||||||
@@ -2,10 +2,7 @@
|
|||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
# 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/.
|
# You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
try:
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
except ImportError:
|
|
||||||
from distutils.core import setup
|
|
||||||
|
|
||||||
VERSION = "0.1"
|
VERSION = "0.1"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user