From b27fe2ea3529abeeaf7bbe079a297235209f9358 Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Wed, 18 Dec 2019 21:21:39 +0100 Subject: [PATCH] add bsd 3 license --- LICENSE | 28 ++++++++++++++++++++++++++++ README.md | 6 ++++++ js/lib/embed.js | 9 +++++++++ js/lib/extension.js | 8 ++++++++ js/lib/index.js | 8 ++++++++ js/lib/jupyter-ros.js | 8 ++++++++ js/lib/labplugin.js | 8 ++++++++ jupyros/__init__.py | 8 ++++++++ jupyros/_version.py | 8 ++++++++ jupyros/ipy.py | 8 ++++++++ jupyros/pubsub.py | 8 ++++++++ jupyros/ros3d.py | 8 ++++++++ jupyros/ros_widgets.py | 8 ++++++++ jupyros/server_extension.py | 8 ++++++++ 14 files changed, 131 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..86ecadd --- /dev/null +++ b/LICENSE @@ -0,0 +1,28 @@ +Copyright (c) 2016, Wolf Vollprecht +Copyright (c) 2016, QuantStack +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md index b683cd5..cde4132 100644 --- a/README.md +++ b/README.md @@ -77,3 +77,9 @@ import jupyros If you got the following error when you run a cell ```failed to display Jupyter Widget of type VBox```, you can solve it by running the following command ```jupyter nbextension enable --py --sys-prefix widgetsnbextension``` + +## License + +We use a shared copyright model that enables all contributors to maintain the copyright on their contributions. + +This software is licensed under the BSD-3-Clause license. See the LICENSE file for details. \ No newline at end of file diff --git a/js/lib/embed.js b/js/lib/embed.js index 2e16625..d2579ef 100644 --- a/js/lib/embed.js +++ b/js/lib/embed.js @@ -1,3 +1,12 @@ +/////////////////////////////////////////////////////////////////////////////// +// Copyright (c) Wolf Vollprecht, QuantStack // +// // +// Distributed under the terms of the BSD 3-Clause License. // +// // +// The full license is in the file LICENSE, distributed with this software. // +/////////////////////////////////////////////////////////////////////////////// + + // Entry point for the unpkg bundle containing custom model definitions. // // It differs from the notebook bundle in that it does not need to define a diff --git a/js/lib/extension.js b/js/lib/extension.js index 3091db2..4b2a093 100644 --- a/js/lib/extension.js +++ b/js/lib/extension.js @@ -1,3 +1,11 @@ +/////////////////////////////////////////////////////////////////////////////// +// Copyright (c) Wolf Vollprecht, QuantStack // +// // +// Distributed under the terms of the BSD 3-Clause License. // +// // +// The full license is in the file LICENSE, distributed with this software. // +/////////////////////////////////////////////////////////////////////////////// + // This file contains the javascript that is run when the notebook is loaded. // It contains some requirejs configuration and the `load_ipython_extension` // which is required for any notebook extension. diff --git a/js/lib/index.js b/js/lib/index.js index e7483eb..77e6a26 100644 --- a/js/lib/index.js +++ b/js/lib/index.js @@ -1,3 +1,11 @@ +/////////////////////////////////////////////////////////////////////////////// +// Copyright (c) Wolf Vollprecht, QuantStack // +// // +// Distributed under the terms of the BSD 3-Clause License. // +// // +// The full license is in the file LICENSE, distributed with this software. // +/////////////////////////////////////////////////////////////////////////////// + // Export widget models and views, and the npm package version number. module.exports = require('./jupyter-ros.js'); module.exports['version'] = require('../package.json').version; diff --git a/js/lib/jupyter-ros.js b/js/lib/jupyter-ros.js index c1c90e8..4f74cec 100644 --- a/js/lib/jupyter-ros.js +++ b/js/lib/jupyter-ros.js @@ -1,3 +1,11 @@ +/////////////////////////////////////////////////////////////////////////////// +// Copyright (c) Wolf Vollprecht, QuantStack // +// // +// Distributed under the terms of the BSD 3-Clause License. // +// // +// The full license is in the file LICENSE, distributed with this software. // +/////////////////////////////////////////////////////////////////////////////// + window.ws = window.WebSocket; var widgets = require('@jupyter-widgets/base'); var _ = require('lodash'); diff --git a/js/lib/labplugin.js b/js/lib/labplugin.js index 8905007..b3eba59 100644 --- a/js/lib/labplugin.js +++ b/js/lib/labplugin.js @@ -1,3 +1,11 @@ +/////////////////////////////////////////////////////////////////////////////// +// Copyright (c) Wolf Vollprecht, QuantStack // +// // +// Distributed under the terms of the BSD 3-Clause License. // +// // +// The full license is in the file LICENSE, distributed with this software. // +/////////////////////////////////////////////////////////////////////////////// + var index_module = require('./index.js'); var base = require('@jupyter-widgets/base'); diff --git a/jupyros/__init__.py b/jupyros/__init__.py index a7a3041..3f1e7fd 100644 --- a/jupyros/__init__.py +++ b/jupyros/__init__.py @@ -1,3 +1,11 @@ +############################################################################# +# Copyright (c) Wolf Vollprecht, QuantStack # +# # +# Distributed under the terms of the BSD 3-Clause License. # +# # +# The full license is in the file LICENSE, distributed with this software. # +############################################################################# + from ._version import version_info, __version__ from .ros_widgets import * diff --git a/jupyros/_version.py b/jupyros/_version.py index c55aabd..29d4b25 100644 --- a/jupyros/_version.py +++ b/jupyros/_version.py @@ -1,3 +1,11 @@ +############################################################################# +# Copyright (c) Wolf Vollprecht, QuantStack # +# # +# Distributed under the terms of the BSD 3-Clause License. # +# # +# The full license is in the file LICENSE, distributed with this software. # +############################################################################# + version_info = (0, 2, 2, 'final', 0) _specifier_ = {'alpha': 'a', 'beta': 'b', 'candidate': 'rc', 'final': ''} diff --git a/jupyros/ipy.py b/jupyros/ipy.py index 16e7bd5..7c0f0cd 100644 --- a/jupyros/ipy.py +++ b/jupyros/ipy.py @@ -1,3 +1,11 @@ +############################################################################# +# Copyright (c) Wolf Vollprecht, QuantStack # +# # +# Distributed under the terms of the BSD 3-Clause License. # +# # +# The full license is in the file LICENSE, distributed with this software. # +############################################################################# + from IPython import get_ipython from IPython.core.magic import register_line_magic, register_cell_magic, register_line_cell_magic from threading import Thread diff --git a/jupyros/pubsub.py b/jupyros/pubsub.py index aae29e6..48d38f3 100644 --- a/jupyros/pubsub.py +++ b/jupyros/pubsub.py @@ -1,3 +1,11 @@ +############################################################################# +# Copyright (c) Wolf Vollprecht, QuantStack # +# # +# Distributed under the terms of the BSD 3-Clause License. # +# # +# The full license is in the file LICENSE, distributed with this software. # +############################################################################# + from __future__ import print_function import threading diff --git a/jupyros/ros3d.py b/jupyros/ros3d.py index 8f1f17c..63f664f 100644 --- a/jupyros/ros3d.py +++ b/jupyros/ros3d.py @@ -1,3 +1,11 @@ +############################################################################# +# Copyright (c) Wolf Vollprecht, QuantStack # +# # +# Distributed under the terms of the BSD 3-Clause License. # +# # +# The full license is in the file LICENSE, distributed with this software. # +############################################################################# + import os import ipywidgets as widgets diff --git a/jupyros/ros_widgets.py b/jupyros/ros_widgets.py index c2b9e0b..2d5f7fb 100644 --- a/jupyros/ros_widgets.py +++ b/jupyros/ros_widgets.py @@ -1,3 +1,11 @@ +############################################################################# +# Copyright (c) Wolf Vollprecht, QuantStack # +# # +# Distributed under the terms of the BSD 3-Clause License. # +# # +# The full license is in the file LICENSE, distributed with this software. # +############################################################################# + try: import rospy except: diff --git a/jupyros/server_extension.py b/jupyros/server_extension.py index f4b6f6b..b5cb269 100644 --- a/jupyros/server_extension.py +++ b/jupyros/server_extension.py @@ -1,3 +1,11 @@ +############################################################################# +# Copyright (c) Wolf Vollprecht, QuantStack # +# # +# Distributed under the terms of the BSD 3-Clause License. # +# # +# The full license is in the file LICENSE, distributed with this software. # +############################################################################# + from notebook.utils import url_path_join from notebook.base.handlers import IPythonHandler from jupyros import _version