mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-19 21:51:37 +00:00
16 lines
373 B
Python
Executable File
16 lines
373 B
Python
Executable File
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
"""Provides backwards compatibility for calling gam as a single .py file"""
|
|
|
|
import multiprocessing
|
|
import platform
|
|
|
|
from gam.__main__ import main
|
|
|
|
# Run from command line
|
|
if __name__ == '__main__':
|
|
if platform.system() != 'Linux':
|
|
multiprocessing.freeze_support()
|
|
multiprocessing.set_start_method('spawn')
|
|
main()
|