Skip to content

Commit bc2e544

Browse files
committed
Add copyright and license to pip's files
Copyright notice is based on original pip copyright: Copyright @ 2008-2021 The pip developers (see AUTHORS.txt file). All rights reserved. The year was removed being unnecessary and AUTHORS file name was adjusted. Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com>
1 parent 6c1dcd4 commit bc2e544

21 files changed

+63
-0
lines changed

src/fetchcode/vcs/pip/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright @ The pip developers (see pip-AUTHORS.txt). All rights reserved
3+
14
from fetchcode.vcs.pip._internal.utils import _log
25

36
_log.init_logging()

src/fetchcode/vcs/pip/_internal/exceptions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright @ The pip developers (see pip-AUTHORS.txt). All rights reserved
3+
14
"""Exceptions used throughout package"""
25

36
from itertools import groupby

src/fetchcode/vcs/pip/_internal/utils/_log.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright @ The pip developers (see pip-AUTHORS.txt). All rights reserved
3+
14
"""Customize logging
25
36
Defines custom logger class for the `logger.verbose(...)` method.

src/fetchcode/vcs/pip/_internal/utils/compat.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright @ The pip developers (see pip-AUTHORS.txt). All rights reserved
3+
14
"""Stuff that differs in different Python versions and platform
25
distributions."""
36

src/fetchcode/vcs/pip/_internal/utils/logging.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright @ The pip developers (see pip-AUTHORS.txt). All rights reserved
3+
14
import contextlib
25
import errno
36
import logging

src/fetchcode/vcs/pip/_internal/utils/misc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright @ The pip developers (see pip-AUTHORS.txt). All rights reserved
3+
14
# The following comment should be removed at some point in the future.
25
# mypy: strict-optional=False
36

src/fetchcode/vcs/pip/_internal/utils/subprocess.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright @ The pip developers (see pip-AUTHORS.txt). All rights reserved
3+
14
import logging
25
import os
36
import shlex

src/fetchcode/vcs/pip/_internal/utils/temp_dir.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright @ The pip developers (see pip-AUTHORS.txt). All rights reserved
3+
14
import errno
25
import itertools
36
import logging

src/fetchcode/vcs/pip/_internal/utils/urls.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright @ The pip developers (see pip-AUTHORS.txt). All rights reserved
3+
14
import os
25
import string
36
import urllib.parse

tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright @ The pip developers (see pip-AUTHORS.txt). All rights reserved
3+
14
import os
25
import shutil
36
import sys

0 commit comments

Comments
 (0)