Add a license statement to every source file

为每个源代码文件增加开源许可声明;
This commit is contained in:
muzing 2022-12-03 11:56:13 +08:00
parent 3b8af19575
commit 1c85d10259
18 changed files with 54 additions and 0 deletions

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
import sys
from PySide6.QtWidgets import QApplication

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
from .app_constants import *
from .packaging_constants import *
from .platform_constants import *

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
"""
应用程序级的常量
"""

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
"""
打包相关的常量
"""

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
import sys

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
"""
自定义的数据类型用于Mypy静态类型检查
"""

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
from .packaging import Packaging
from .packaging_task import PackagingTask
from .validators import FilePathValidator, InterpreterValidator

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
from pathlib import Path
from typing import List, Optional

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
from pathlib import Path
from typing import Optional

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
import os.path
from sys import getdefaultencoding
from typing import Optional, Sequence

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
import os
import subprocess
from pathlib import Path

View File

@ -1 +1,4 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
from .compiled_resources import *

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
from .arguments_browser import ArgumentsBrowser
from .center_widget import CenterWidget
from .dialog_widgets import *

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
from typing import Optional
from PySide6.QtWidgets import QTextBrowser, QWidget

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
from pathlib import Path
from PySide6 import QtCore

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
import subprocess
from typing import Optional

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
from PySide6.QtCore import QUrl
from PySide6.QtGui import QDesktopServices, QIcon, QPixmap
from PySide6.QtWidgets import QApplication, QMainWindow, QMenuBar, QStatusBar

View File

@ -1,3 +1,6 @@
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
import sys
from PySide6.QtGui import QCloseEvent