From 0fc56b96548151ee2d981449fe5c0115b040f457 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 1 Oct 2016 18:14:49 +0300 Subject: fix licensing notices --- algorithms/algorithm.py | 7 ++++--- algorithms/impl/__init__.py | 7 ++++--- algorithms/impl/bubble_sort.py | 7 ++++--- algorithms/impl/heapsort.py | 7 ++++--- algorithms/impl/insertion_sort.py | 7 ++++--- algorithms/impl/median.py | 7 ++++--- algorithms/impl/merge_sort.py | 7 ++++--- algorithms/impl/quicksort.py | 7 ++++--- algorithms/impl/selection_sort.py | 7 ++++--- algorithms/inputgen.py | 7 ++++--- algorithms/params.py | 7 ++++--- algorithms/plotter.py | 7 ++++--- algorithms/registry.py | 7 ++++--- algorithms/timer.py | 7 ++++--- 14 files changed, 56 insertions(+), 42 deletions(-) (limited to 'algorithms') diff --git a/algorithms/algorithm.py b/algorithms/algorithm.py index b65ed04..2d793bc 100644 --- a/algorithms/algorithm.py +++ b/algorithms/algorithm.py @@ -1,6 +1,7 @@ -# Copyright 2016 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2016 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. from . import inputgen diff --git a/algorithms/impl/__init__.py b/algorithms/impl/__init__.py index dcb8fc4..579b091 100644 --- a/algorithms/impl/__init__.py +++ b/algorithms/impl/__init__.py @@ -1,6 +1,7 @@ -# Copyright 2016 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2016 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. from importlib import import_module import os.path diff --git a/algorithms/impl/bubble_sort.py b/algorithms/impl/bubble_sort.py index e6aa645..e75ceab 100644 --- a/algorithms/impl/bubble_sort.py +++ b/algorithms/impl/bubble_sort.py @@ -1,6 +1,7 @@ -# Copyright 2015 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2015 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. import sys diff --git a/algorithms/impl/heapsort.py b/algorithms/impl/heapsort.py index c92a04c..6615e14 100644 --- a/algorithms/impl/heapsort.py +++ b/algorithms/impl/heapsort.py @@ -1,6 +1,7 @@ -# Copyright 2015 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2015 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. import sys diff --git a/algorithms/impl/insertion_sort.py b/algorithms/impl/insertion_sort.py index 006ab66..d02b970 100644 --- a/algorithms/impl/insertion_sort.py +++ b/algorithms/impl/insertion_sort.py @@ -1,6 +1,7 @@ -# Copyright 2015 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2015 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. import sys diff --git a/algorithms/impl/median.py b/algorithms/impl/median.py index e6b9901..d19dec4 100644 --- a/algorithms/impl/median.py +++ b/algorithms/impl/median.py @@ -1,6 +1,7 @@ -# Copyright 2016 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2016 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. from heapq import heappush, heappop import sys diff --git a/algorithms/impl/merge_sort.py b/algorithms/impl/merge_sort.py index 8d0b573..3dd2bb9 100644 --- a/algorithms/impl/merge_sort.py +++ b/algorithms/impl/merge_sort.py @@ -1,6 +1,7 @@ -# Copyright 2015 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2015 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. import sys diff --git a/algorithms/impl/quicksort.py b/algorithms/impl/quicksort.py index 9230187..3c4715a 100644 --- a/algorithms/impl/quicksort.py +++ b/algorithms/impl/quicksort.py @@ -1,6 +1,7 @@ -# Copyright 2015 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2015 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. from random import randrange, seed import sys diff --git a/algorithms/impl/selection_sort.py b/algorithms/impl/selection_sort.py index d5d11d2..0dbf4eb 100644 --- a/algorithms/impl/selection_sort.py +++ b/algorithms/impl/selection_sort.py @@ -1,6 +1,7 @@ -# Copyright 2015 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2015 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. import sys diff --git a/algorithms/inputgen.py b/algorithms/inputgen.py index 2659ffc..aeb4f29 100644 --- a/algorithms/inputgen.py +++ b/algorithms/inputgen.py @@ -1,6 +1,7 @@ -# Copyright 2016 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2016 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. from array import array from enum import Enum diff --git a/algorithms/params.py b/algorithms/params.py index 50a190f..b7fc38e 100644 --- a/algorithms/params.py +++ b/algorithms/params.py @@ -1,6 +1,7 @@ -# Copyright 2016 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2016 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. from enum import Enum from numbers import Integral diff --git a/algorithms/plotter.py b/algorithms/plotter.py index 58ee941..8086850 100644 --- a/algorithms/plotter.py +++ b/algorithms/plotter.py @@ -1,6 +1,7 @@ -# Copyright 2016 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2016 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. import matplotlib.pyplot as plt diff --git a/algorithms/registry.py b/algorithms/registry.py index 0f75dce..787fe49 100644 --- a/algorithms/registry.py +++ b/algorithms/registry.py @@ -1,6 +1,7 @@ -# Copyright 2016 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2016 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. from . import impl diff --git a/algorithms/timer.py b/algorithms/timer.py index d334b94..0d37812 100644 --- a/algorithms/timer.py +++ b/algorithms/timer.py @@ -1,6 +1,7 @@ -# Copyright 2016 Egor Tensin -# This file is licensed under the terms of the MIT License. -# See LICENSE.txt for details. +# Copyright (c) 2016 Egor Tensin +# This file is part of the "Sorting algorithms" project. +# For details, see https://github.com/egor-tensin/sorting-algorithms. +# Distributed under the MIT License. import gc, time -- cgit v1.2.3