Skip to content

Commit

Permalink
Merge pull request #39 from saxbophone/josh/add-mpl-2.0-license
Browse files Browse the repository at this point in the history
Added MPL-2.0 license to all source code files
  • Loading branch information
saxbophone committed Oct 31, 2018
2 parents 5bd8f5a + 5f4f310 commit 42032ce
Show file tree
Hide file tree
Showing 17 changed files with 493 additions and 17 deletions.
374 changes: 373 additions & 1 deletion LICENSE

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion basest/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
8 changes: 7 additions & 1 deletion basest/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
8 changes: 7 additions & 1 deletion basest/core/best_ratio.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
8 changes: 7 additions & 1 deletion basest/core/decode.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
8 changes: 7 additions & 1 deletion basest/core/encode.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
8 changes: 7 additions & 1 deletion basest/core/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
8 changes: 7 additions & 1 deletion basest/encoders/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
8 changes: 7 additions & 1 deletion basest/encoders/encoder.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
8 changes: 7 additions & 1 deletion basest/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
16 changes: 14 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
#!/usr/bin/python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)

import os

from pip.req import parse_requirements
Expand Down Expand Up @@ -47,11 +58,12 @@ def retrieve_deps(filepath):
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'Intended Audience :: Telecommunications Industry',
'License :: Other/Proprietary License',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Communications',
'Topic :: Education',
'Topic :: Internet',
Expand Down
9 changes: 8 additions & 1 deletion stress_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/usr/bin/python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
7 changes: 7 additions & 0 deletions tests/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
8 changes: 7 additions & 1 deletion tests/core/test_best_ratio.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
8 changes: 7 additions & 1 deletion tests/core/test_encode_decode.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
8 changes: 7 additions & 1 deletion tests/core/test_encode_decode_raw.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down
8 changes: 7 additions & 1 deletion tests/encoders/test_encoder.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016, 2018, Joshua Saxby <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http:https://mozilla.org/MPL/2.0/.
#
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
Expand Down

0 comments on commit 42032ce

Please sign in to comment.