fune/python/mozboot/setup.py
serge-sans-paille 7cc44b55a0 Bug 1858062 - Remove reference to distutils in mozboot r=saschanaz
distutils is no longer available in Python 3.12, which means we cannot
require it on bootstrap, otherwise we cannot bootstrap from Py 3.12.

We already require setuptools as part of mach's requirements, so it's
fine to depend on setuptools elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D190537
2023-11-07 07:43:07 +00:00

19 lines
513 B
Python

# This Source Code Form is subject to the terms of the Mozilla Public
# 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
VERSION = "0.1"
setup(
name="mozboot",
description="System bootstrap for building Mozilla projects.",
license="MPL 2.0",
packages=["mozboot"],
version=VERSION,
scripts=["bin/bootstrap.py"],
)