Skip to content

Commit 8374416

Browse files
committed
Convert all CRLF files to LF endings
1 parent 599c516 commit 8374416

11 files changed

+650
-650
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# ------------------------------------------------------------------
2-
# Copyright (c) 2020 PyInstaller Development Team.
3-
#
4-
# This file is distributed under the terms of the GNU General Public
5-
# License (version 2.0 or later).
6-
#
7-
# The full license is available in LICENSE, distributed with
8-
# this software.
9-
#
10-
# SPDX-License-Identifier: GPL-2.0-or-later
11-
# ------------------------------------------------------------------
12-
13-
# Hook for HtmlTestRunner: https://pypi.org/project/html-testRunner//1.2.1
14-
15-
from PyInstaller.utils.hooks import collect_data_files
16-
17-
datas = collect_data_files('HtmlTestRunner')
1+
# ------------------------------------------------------------------
2+
# Copyright (c) 2020 PyInstaller Development Team.
3+
#
4+
# This file is distributed under the terms of the GNU General Public
5+
# License (version 2.0 or later).
6+
#
7+
# The full license is available in LICENSE, distributed with
8+
# this software.
9+
#
10+
# SPDX-License-Identifier: GPL-2.0-or-later
11+
# ------------------------------------------------------------------
12+
13+
# Hook for HtmlTestRunner: https://pypi.org/project/html-testRunner//1.2.1
14+
15+
from PyInstaller.utils.hooks import collect_data_files
16+
17+
datas = collect_data_files('HtmlTestRunner')
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# ------------------------------------------------------------------
2-
# Copyright (c) 2023 PyInstaller Development Team.
3-
#
4-
# This file is distributed under the terms of the GNU General Public
5-
# License (version 2.0 or later).
6-
#
7-
# The full license is available in LICENSE, distributed with
8-
# this software.
9-
#
10-
# SPDX-License-Identifier: GPL-2.0-or-later
11-
# ------------------------------------------------------------------
12-
from PyInstaller.utils.hooks import collect_data_files
13-
14-
datas = collect_data_files("customtkinter")
1+
# ------------------------------------------------------------------
2+
# Copyright (c) 2023 PyInstaller Development Team.
3+
#
4+
# This file is distributed under the terms of the GNU General Public
5+
# License (version 2.0 or later).
6+
#
7+
# The full license is available in LICENSE, distributed with
8+
# this software.
9+
#
10+
# SPDX-License-Identifier: GPL-2.0-or-later
11+
# ------------------------------------------------------------------
12+
from PyInstaller.utils.hooks import collect_data_files
13+
14+
datas = collect_data_files("customtkinter")
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
#-----------------------------------------------------------------------------
2-
# Copyright (c) 2005-2020, PyInstaller Development Team.
3-
#
1+
#-----------------------------------------------------------------------------
2+
# Copyright (c) 2005-2020, PyInstaller Development Team.
3+
#
44
# This file is distributed under the terms of the GNU General Public
55
# License (version 2.0 or later).
66
#
77
# The full license is available in LICENSE, distributed with
88
# this software.
99
#
1010
# SPDX-License-Identifier: GPL-2.0-or-later
11-
#-----------------------------------------------------------------------------
12-
"""
13-
Collects in-repo dask.yaml and dask-schema.yaml data files.
14-
"""
15-
16-
from PyInstaller.utils.hooks import collect_data_files
17-
18-
datas = collect_data_files('dask', includes=['*.yml', '*.yaml'])
11+
#-----------------------------------------------------------------------------
12+
"""
13+
Collects in-repo dask.yaml and dask-schema.yaml data files.
14+
"""
15+
16+
from PyInstaller.utils.hooks import collect_data_files
17+
18+
datas = collect_data_files('dask', includes=['*.yml', '*.yaml'])
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# ------------------------------------------------------------------
2-
# Copyright (c) 2005-2020 PyInstaller Development Team.
3-
#
4-
# This file is distributed under the terms of the GNU General Public
5-
# License (version 2.0 or later).
6-
#
7-
# The full license is available in LICENSE, distributed with
8-
# this software.
9-
#
10-
# SPDX-License-Identifier: GPL-2.0-or-later
11-
# ------------------------------------------------------------------
12-
13-
from PyInstaller.utils.hooks import collect_data_files
14-
15-
datas = collect_data_files('gmplot')
1+
# ------------------------------------------------------------------
2+
# Copyright (c) 2005-2020 PyInstaller Development Team.
3+
#
4+
# This file is distributed under the terms of the GNU General Public
5+
# License (version 2.0 or later).
6+
#
7+
# The full license is available in LICENSE, distributed with
8+
# this software.
9+
#
10+
# SPDX-License-Identifier: GPL-2.0-or-later
11+
# ------------------------------------------------------------------
12+
13+
from PyInstaller.utils.hooks import collect_data_files
14+
15+
datas = collect_data_files('gmplot')
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# ------------------------------------------------------------------
2-
# Copyright (c) 2022 PyInstaller Development Team.
3-
#
4-
# This file is distributed under the terms of the GNU General Public
5-
# License (version 2.0 or later).
6-
#
7-
# The full license is available in LICENSE, distributed with
8-
# this software.
9-
#
10-
# SPDX-License-Identifier: GPL-2.0-or-later
11-
#-----------------------------------------------------------------------------
12-
13-
from PyInstaller.utils.hooks import collect_data_files
14-
15-
datas = collect_data_files('ldfparser')
1+
# ------------------------------------------------------------------
2+
# Copyright (c) 2022 PyInstaller Development Team.
3+
#
4+
# This file is distributed under the terms of the GNU General Public
5+
# License (version 2.0 or later).
6+
#
7+
# The full license is available in LICENSE, distributed with
8+
# this software.
9+
#
10+
# SPDX-License-Identifier: GPL-2.0-or-later
11+
#-----------------------------------------------------------------------------
12+
13+
from PyInstaller.utils.hooks import collect_data_files
14+
15+
datas = collect_data_files('ldfparser')
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# ------------------------------------------------------------------
2-
# Copyright (c) 2023 PyInstaller Development Team.
3-
#
4-
# This file is distributed under the terms of the GNU General Public
5-
# License (version 2.0 or later).
6-
#
7-
# The full license is available in LICENSE, distributed with
8-
# this software.
9-
#
10-
# SPDX-License-Identifier: GPL-2.0-or-later
11-
# ------------------------------------------------------------------
12-
from PyInstaller.utils.hooks import collect_data_files
13-
14-
datas = collect_data_files("minecraft_launcher_lib")
1+
# ------------------------------------------------------------------
2+
# Copyright (c) 2023 PyInstaller Development Team.
3+
#
4+
# This file is distributed under the terms of the GNU General Public
5+
# License (version 2.0 or later).
6+
#
7+
# The full license is available in LICENSE, distributed with
8+
# this software.
9+
#
10+
# SPDX-License-Identifier: GPL-2.0-or-later
11+
# ------------------------------------------------------------------
12+
from PyInstaller.utils.hooks import collect_data_files
13+
14+
datas = collect_data_files("minecraft_launcher_lib")
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# ------------------------------------------------------------------
2-
# Copyright (c) 2023 PyInstaller Development Team.
3-
#
4-
# This file is distributed under the terms of the GNU General Public
5-
# License (version 2.0 or later).
6-
#
7-
# The full license is available in LICENSE, distributed with
8-
# this software.
9-
#
10-
# SPDX-License-Identifier: GPL-2.0-or-later
11-
# ------------------------------------------------------------------
12-
hiddenimports = ["nbt.nbt", "nbt.world", "nbt.region", "nbt.chunk"]
1+
# ------------------------------------------------------------------
2+
# Copyright (c) 2023 PyInstaller Development Team.
3+
#
4+
# This file is distributed under the terms of the GNU General Public
5+
# License (version 2.0 or later).
6+
#
7+
# The full license is available in LICENSE, distributed with
8+
# this software.
9+
#
10+
# SPDX-License-Identifier: GPL-2.0-or-later
11+
# ------------------------------------------------------------------
12+
hiddenimports = ["nbt.nbt", "nbt.world", "nbt.region", "nbt.chunk"]
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
#-----------------------------------------------------------------------------
2-
# Copyright (c) 2005-2020, PyInstaller Development Team.
3-
#
1+
#-----------------------------------------------------------------------------
2+
# Copyright (c) 2005-2020, PyInstaller Development Team.
3+
#
44
# This file is distributed under the terms of the GNU General Public
55
# License (version 2.0 or later).
66
#
77
# The full license is available in LICENSE, distributed with
88
# this software.
99
#
1010
# SPDX-License-Identifier: GPL-2.0-or-later
11-
#-----------------------------------------------------------------------------
12-
"""
13-
Fixes https://github.com/pyinstaller/pyinstaller/issues/4995
14-
15-
Modules under parsedatetime.pdt_locales.* are lazily loaded using __import__.
16-
But they are conviniently listed in parsedatetime.pdt_locales.locales.
17-
18-
Tested on versions:
19-
20-
- 1.1.1
21-
- 1.5
22-
- 2.0
23-
- 2.6 (latest)
24-
25-
"""
26-
27-
from PyInstaller.utils.hooks import collect_submodules
28-
29-
hiddenimports = collect_submodules("parsedatetime.pdt_locales")
11+
#-----------------------------------------------------------------------------
12+
"""
13+
Fixes https://github.com/pyinstaller/pyinstaller/issues/4995
14+
15+
Modules under parsedatetime.pdt_locales.* are lazily loaded using __import__.
16+
But they are conviniently listed in parsedatetime.pdt_locales.locales.
17+
18+
Tested on versions:
19+
20+
- 1.1.1
21+
- 1.5
22+
- 2.0
23+
- 2.6 (latest)
24+
25+
"""
26+
27+
from PyInstaller.utils.hooks import collect_submodules
28+
29+
hiddenimports = collect_submodules("parsedatetime.pdt_locales")
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
1-
# ------------------------------------------------------------------
2-
# Copyright (c) 2023 PyInstaller Development Team.
3-
#
4-
# This file is distributed under the terms of the GNU General Public
5-
# License (version 2.0 or later).
6-
#
7-
# The full license is available in LICENSE, distributed with
8-
# this software.
9-
#
10-
# SPDX-License-Identifier: GPL-2.0-or-later
11-
# ------------------------------------------------------------------
12-
import os
13-
import sys
14-
15-
# see https://github.com/giampaolo/psutil/blob/release-5.9.5/psutil/_common.py#L82
16-
WINDOWS = os.name == "nt"
17-
LINUX = sys.platform.startswith("linux")
18-
MACOS = sys.platform.startswith("darwin")
19-
FREEBSD = sys.platform.startswith(("freebsd", "midnightbsd"))
20-
OPENBSD = sys.platform.startswith("openbsd")
21-
NETBSD = sys.platform.startswith("netbsd")
22-
BSD = FREEBSD or OPENBSD or NETBSD
23-
SUNOS = sys.platform.startswith(("sunos", "solaris"))
24-
AIX = sys.platform.startswith("aix")
25-
26-
excludedimports = [
27-
"psutil._pslinux",
28-
"psutil._pswindows",
29-
"psutil._psosx",
30-
"psutil._psbsd",
31-
"psutil._pssunos",
32-
"psutil._psaix",
33-
]
34-
35-
# see https://github.com/giampaolo/psutil/blob/release-5.9.5/psutil/__init__.py#L97
36-
if LINUX:
37-
excludedimports.remove("psutil._pslinux")
38-
elif WINDOWS:
39-
excludedimports.remove("psutil._pswindows")
40-
# see https://github.com/giampaolo/psutil/blob/release-5.9.5/psutil/_common.py#L856
41-
# This will exclude `curses` for windows
42-
excludedimports.append("curses")
43-
elif MACOS:
44-
excludedimports.remove("psutil._psosx")
45-
elif BSD:
46-
excludedimports.remove("psutil._psbsd")
47-
elif SUNOS:
48-
excludedimports.remove("psutil._pssunos")
49-
elif AIX:
50-
excludedimports.remove("psutil._psaix")
1+
# ------------------------------------------------------------------
2+
# Copyright (c) 2023 PyInstaller Development Team.
3+
#
4+
# This file is distributed under the terms of the GNU General Public
5+
# License (version 2.0 or later).
6+
#
7+
# The full license is available in LICENSE, distributed with
8+
# this software.
9+
#
10+
# SPDX-License-Identifier: GPL-2.0-or-later
11+
# ------------------------------------------------------------------
12+
import os
13+
import sys
14+
15+
# see https://github.com/giampaolo/psutil/blob/release-5.9.5/psutil/_common.py#L82
16+
WINDOWS = os.name == "nt"
17+
LINUX = sys.platform.startswith("linux")
18+
MACOS = sys.platform.startswith("darwin")
19+
FREEBSD = sys.platform.startswith(("freebsd", "midnightbsd"))
20+
OPENBSD = sys.platform.startswith("openbsd")
21+
NETBSD = sys.platform.startswith("netbsd")
22+
BSD = FREEBSD or OPENBSD or NETBSD
23+
SUNOS = sys.platform.startswith(("sunos", "solaris"))
24+
AIX = sys.platform.startswith("aix")
25+
26+
excludedimports = [
27+
"psutil._pslinux",
28+
"psutil._pswindows",
29+
"psutil._psosx",
30+
"psutil._psbsd",
31+
"psutil._pssunos",
32+
"psutil._psaix",
33+
]
34+
35+
# see https://github.com/giampaolo/psutil/blob/release-5.9.5/psutil/__init__.py#L97
36+
if LINUX:
37+
excludedimports.remove("psutil._pslinux")
38+
elif WINDOWS:
39+
excludedimports.remove("psutil._pswindows")
40+
# see https://github.com/giampaolo/psutil/blob/release-5.9.5/psutil/_common.py#L856
41+
# This will exclude `curses` for windows
42+
excludedimports.append("curses")
43+
elif MACOS:
44+
excludedimports.remove("psutil._psosx")
45+
elif BSD:
46+
excludedimports.remove("psutil._psbsd")
47+
elif SUNOS:
48+
excludedimports.remove("psutil._pssunos")
49+
elif AIX:
50+
excludedimports.remove("psutil._psaix")

0 commit comments

Comments
 (0)