* chore: adding copy right text to all python files * Update COPYRIGHT_CHECK.md Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
27 lines
998 B
Python
27 lines
998 B
Python
#!/usr/bin/env python
|
|
# SPDX-FileCopyrightText: 2023-present Plane Software, Inc.
|
|
# SPDX-License-Identifier: LicenseRef-Plane-Commercial
|
|
#
|
|
# Licensed under the Plane Commercial License (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
# https://plane.so/legals/eula
|
|
#
|
|
# DO NOT remove or modify this notice.
|
|
# NOTICE: Proprietary and confidential. Unauthorized use or distribution is prohibited.
|
|
|
|
import os
|
|
import sys
|
|
|
|
if __name__ == "__main__":
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "plane.settings.production")
|
|
try:
|
|
from django.core.management import execute_from_command_line
|
|
except ImportError as exc:
|
|
raise ImportError(
|
|
"Couldn't import Django. Are you sure it's installed and "
|
|
"available on your PYTHONPATH environment variable? Did you "
|
|
"forget to activate a virtual environment?"
|
|
) from exc
|
|
execute_from_command_line(sys.argv)
|