aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-01 18:14:49 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-01 18:14:49 +0300
commit0fc56b96548151ee2d981449fe5c0115b040f457 (patch)
tree0aa40970b157b2ab37db5ec0a9abd528a3eb18d5
parentcode style (diff)
downloadsorting-algorithms-0fc56b96548151ee2d981449fe5c0115b040f457.tar.gz
sorting-algorithms-0fc56b96548151ee2d981449fe5c0115b040f457.zip
fix licensing notices
Diffstat (limited to '')
-rw-r--r--LICENSE.txt10
-rw-r--r--README.md3
-rw-r--r--algorithms/algorithm.py7
-rw-r--r--algorithms/impl/__init__.py7
-rw-r--r--algorithms/impl/bubble_sort.py7
-rw-r--r--algorithms/impl/heapsort.py7
-rw-r--r--algorithms/impl/insertion_sort.py7
-rw-r--r--algorithms/impl/median.py7
-rw-r--r--algorithms/impl/merge_sort.py7
-rw-r--r--algorithms/impl/quicksort.py7
-rw-r--r--algorithms/impl/selection_sort.py7
-rw-r--r--algorithms/inputgen.py7
-rw-r--r--algorithms/params.py7
-rw-r--r--algorithms/plotter.py7
-rw-r--r--algorithms/registry.py7
-rw-r--r--algorithms/timer.py7
-rw-r--r--plot.bat7
-rw-r--r--plot.py7
-rw-r--r--test.py7
19 files changed, 74 insertions, 58 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
index fbbdd68..62c44fd 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,4 +1,4 @@
-The MIT License (MIT)
+MIT License
Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
index ff05b44..e28d964 100644
--- a/README.md
+++ b/README.md
@@ -140,8 +140,7 @@ affinity:
License
-------
-This project, including all of the files and their contents, is licensed under
-the terms of the MIT License.
+Distributed under the MIT License.
See [LICENSE.txt] for details.
[LICENSE.txt]: LICENSE.txt
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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# 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
diff --git a/plot.bat b/plot.bat
index aced087..bc6fb24 100644
--- a/plot.bat
+++ b/plot.bat
@@ -1,6 +1,7 @@
-@rem Copyright 2015 Egor Tensin <Egor.Tensin@gmail.com>
-@rem This file is licensed under the terms of the MIT License.
-@rem See LICENSE.txt for details.
+@rem Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+@rem This file is part of the "Sorting algorithms" project.
+@rem For details, see https://github.com/egor-tensin/sorting-algorithms.
+@rem Distributed under the MIT License.
@setlocal enabledelayedexpansion
@echo off
diff --git a/plot.py b/plot.py
index 3f6b905..0ae5524 100644
--- a/plot.py
+++ b/plot.py
@@ -1,6 +1,7 @@
-# Copyright 2015 Egor Tensin <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# 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 argparse
import sys
diff --git a/test.py b/test.py
index 4c96ead..375507c 100644
--- a/test.py
+++ b/test.py
@@ -1,6 +1,7 @@
-# Copyright 2016 Egor Tensin <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# 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
import argparse