2020-04-25 10:05:12 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
2020-04-25 14:31:52 +00:00
|
|
|
#
|
|
|
|
# Helper module to build macOS version of various source ports
|
2023-01-01 08:46:34 +00:00
|
|
|
# Copyright (C) 2020-2023 Alexey Lysiuk
|
2020-04-25 14:31:52 +00:00
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
2021-07-22 06:50:00 +00:00
|
|
|
_min_version = (3, 8, 0, 'final', 0)
|
|
|
|
|
|
|
|
if sys.version_info < _min_version:
|
|
|
|
print(f'This module requires Python {_min_version[0]}.{_min_version[1]}.{_min_version[2]} or newer')
|
2020-04-25 14:31:52 +00:00
|
|
|
exit(1)
|
|
|
|
|
2021-01-14 08:34:20 +00:00
|
|
|
sys.dont_write_bytecode = True
|
2020-12-19 09:55:13 +00:00
|
|
|
|
2021-08-04 06:35:23 +00:00
|
|
|
from aedi import Builder # noqa: E402
|
2020-04-25 10:05:12 +00:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2020-05-07 11:52:56 +00:00
|
|
|
Builder(sys.argv[1:]).run()
|