1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 11:00:36 +02:00

maint: Merge sanity-check-next.py into sanity-check.py.

* gnu/packages/aux-files/python/sanity-check-next.py: Rename to...
* gnu/packages/aux-files/python/sanity-check.py: ... this.
* guix/build-system/pyproject.scm (sanity-check.py): Adjust file name.
* Makefile.am (AUX_FILES): De-register sanity-check-next.py.
This commit is contained in:
Maxim Cournoyer 2023-04-14 21:01:34 -04:00
parent 20707a06d2
commit 3c8a4d64ff
No known key found for this signature in database
GPG key ID: 1260E46482E63562
4 changed files with 7 additions and 104 deletions

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# GNU Guix --- Functional package management for GNU
# Copyright © 2021 Lars-Dominik Braun <lars@6xq.net>
# Copyright © 2021, 2022 Lars-Dominik Braun <lars@6xq.net>
#
# This file is part of GNU Guix.
#
@ -19,9 +19,13 @@
from __future__ import print_function # Python 2 support.
import importlib
import pkg_resources
import sys
import traceback
try:
import pkg_resources
except ImportError:
print('Warning: Skipping, because python-setuptools are not available.')
sys.exit(0)
try:
from importlib.machinery import PathFinder