summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2023-07-13 10:37:49 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2023-07-24 14:48:14 +0530
commit88a95b38ac2c736bf7551664e6236b952996bda9 (patch)
treefba1d24bab48f8e17e19fbed574640bf064e3d51
parentad8e98ce33cd3828212388400f1b8621a4f624b6 (diff)
cerbero: Warn that MSYS is deprecated and will be removed
Make the warning really big, annoying, and hard to miss. Don't warn about the setuptools bug, everyone is running that now and no one needs to know. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1227>
-rw-r--r--cerbero/bootstrap/build_tools.py3
-rw-r--r--cerbero/config.py12
2 files changed, 11 insertions, 4 deletions
diff --git a/cerbero/bootstrap/build_tools.py b/cerbero/bootstrap/build_tools.py
index 239c6501..3cc59007 100644
--- a/cerbero/bootstrap/build_tools.py
+++ b/cerbero/bootstrap/build_tools.py
@@ -116,9 +116,6 @@ class BuildTools (BootstrapperBase, Fetch):
if len(version) < 1 or int(version[0]) < 49:
return
- m.warning('detected setuptools >= 49.0.0, installing fallback site.py file. '
- 'See https://github.com/pypa/setuptools/issues/2295')
-
# Since python-setuptools 49.0.0, site.py is not installed by
# easy_install/setup.py anymore which breaks python installs outside
# the system prefix.
diff --git a/cerbero/config.py b/cerbero/config.py
index cc6a9970..140a225b 100644
--- a/cerbero/config.py
+++ b/cerbero/config.py
@@ -339,7 +339,17 @@ class Config (object):
m.message('Using Visual Studio installed at {!r}'.format(self.vs_install_path))
m.message('Install prefix will be {}'.format(self.prefix))
if self.distro == Distro.MSYS:
- m.warning('Support for the old MSYS is now deprecated. Check the README to migrate to MSYS2 for faster build times')
+ import time
+ print('!!!!!!!!!!!!')
+ print('DEPRECATION: You are using the old MSYS which is deprecated and will be unsupported SOON!')
+ print('!!!!!!!!!!!!')
+ for i in range(0, 5):
+ print('.', end='', flush=True)
+ time.sleep(1)
+ print('')
+ print('!!!!!!!!!!!!')
+ print('DEPRECATION: Check the README to migrate to MSYS2 and get faster build times!')
+ print('!!!!!!!!!!!!')
# Store current os.environ data
arches = []