forked from mirrors/gecko-dev
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
19 lines
513 B
Python
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"],
|
|
)
|