Skip to content

Commit 1c85d10

Browse files
committed
Add a license statement to every source file
为每个源代码文件增加开源许可声明;
1 parent 3b8af19 commit 1c85d10

18 files changed

Lines changed: 54 additions & 0 deletions

src/Py2exe-GUI.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
2+
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
3+
14
import sys
25

36
from PySide6.QtWidgets import QApplication

src/py2exe_gui/Constants/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
2+
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
3+
14
from .app_constants import *
25
from .packaging_constants import *
36
from .platform_constants import *

src/py2exe_gui/Constants/app_constants.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
2+
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
3+
14
"""
25
应用程序级的常量
36
"""

src/py2exe_gui/Constants/packaging_constants.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
2+
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
3+
14
"""
25
打包相关的常量
36
"""

src/py2exe_gui/Constants/platform_constants.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
2+
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
3+
14
import sys
25

36

src/py2exe_gui/Constants/type_constants.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
2+
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
3+
14
"""
25
自定义的数据类型,用于Mypy静态类型检查
36
"""

src/py2exe_gui/Core/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
2+
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
3+
14
from .packaging import Packaging
25
from .packaging_task import PackagingTask
36
from .validators import FilePathValidator, InterpreterValidator

src/py2exe_gui/Core/packaging.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
2+
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
3+
14
from pathlib import Path
25
from typing import List, Optional
36

src/py2exe_gui/Core/packaging_task.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
2+
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
3+
14
from pathlib import Path
25
from typing import Optional
36

src/py2exe_gui/Core/subprocess_tool.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Licensed under the GPLv3 License: https://www.gnu.org/licenses/gpl-3.0.html
2+
# For details: https://github.com/muziing/Py2exe-GUI/blob/main/README.md#license
3+
14
import os.path
25
from sys import getdefaultencoding
36
from typing import Optional, Sequence

0 commit comments

Comments
 (0)