mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-23 20:32:42 +00:00
34 lines
1.1 KiB
Python
Executable file
34 lines
1.1 KiB
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
#
|
|
# Helper module to build macOS version of various source ports
|
|
# Copyright (C) 2020-2024 Alexey Lysiuk
|
|
#
|
|
# 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
|
|
|
|
_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')
|
|
exit(1)
|
|
|
|
sys.dont_write_bytecode = True
|
|
|
|
from aedi import Builder # noqa: E402
|
|
|
|
if __name__ == '__main__':
|
|
Builder(sys.argv[1:]).run()
|