From 066983a5e1046233d7eb7e9658f4807ad8fadf89 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Thu, 5 Mar 2020 10:33:48 +0100 Subject: [PATCH] LICENSE: Update year and authors Also add SPDX-License-Identifier: MIT to API source files for clarity. --- CONTRIBUTING.md | 24 ------------------------ LICENSE | 4 +--- pybricks-projects | 2 +- pybricks/builtins.py | 3 +++ pybricks/ev3devices.py | 3 +++ pybricks/hubs.py | 3 +++ pybricks/iodevices.py | 3 +++ pybricks/media/ev3dev.py | 3 +++ pybricks/messaging.py | 2 +- pybricks/nxtdevices.py | 3 +++ pybricks/parameters.py | 3 +++ pybricks/pupdevices.py | 3 +++ pybricks/robotics.py | 3 +++ pybricks/tools.py | 3 +++ 14 files changed, 33 insertions(+), 29 deletions(-) delete mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 835dd0b..0000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,24 +0,0 @@ - - -### Prerequisites - -* Git -* Python 3 -* Pipenv - -For docs: -* Inkscape -* Make - - -### Setup - - git clone --recursive https://github.com/pybricks/pybricks-api - cd pybricks-api - pipenv sync --dev - - -### Build Docs - - pipenv shell - make -C doc html diff --git a/LICENSE b/LICENSE index 1d15cfb..3e03363 100644 --- a/LICENSE +++ b/LICENSE @@ -1,8 +1,6 @@ MIT License -Copyright (c) 2018-2019 Laurens Valk -Copyright (c) 2018-2019 David Lechner -Copyright (c) 2019 LEGO System A/S +Copyright (c) 2018-2020 The Pybricks Authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pybricks-projects b/pybricks-projects index af9cb70..bde1e6b 160000 --- a/pybricks-projects +++ b/pybricks-projects @@ -1 +1 @@ -Subproject commit af9cb706b2fb86fd2b0c700fa439ac34d36816c8 +Subproject commit bde1e6bac52561a1e72a362297f6671b34283152 diff --git a/pybricks/builtins.py b/pybricks/builtins.py index 3873ccc..56e68e9 100644 --- a/pybricks/builtins.py +++ b/pybricks/builtins.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors + """Generic cross-platform module for typical devices like lights, displays, speakers, and batteries.""" diff --git a/pybricks/ev3devices.py b/pybricks/ev3devices.py index 3f85570..76bf181 100644 --- a/pybricks/ev3devices.py +++ b/pybricks/ev3devices.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors + """LEGO® MINDSTORMS® EV3 motors and sensors.""" from .parameters import Direction diff --git a/pybricks/hubs.py b/pybricks/hubs.py index 6650604..1fb414e 100644 --- a/pybricks/hubs.py +++ b/pybricks/hubs.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors + """LEGO® Programmable Hubs.""" from enum import Enum from .builtins import Speaker, Battery, ColorLight, KeyPad diff --git a/pybricks/iodevices.py b/pybricks/iodevices.py index 82aea18..499b6db 100644 --- a/pybricks/iodevices.py +++ b/pybricks/iodevices.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors + """Generic input/output devices.""" diff --git a/pybricks/media/ev3dev.py b/pybricks/media/ev3dev.py index 4b593a8..2f73f8d 100644 --- a/pybricks/media/ev3dev.py +++ b/pybricks/media/ev3dev.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors + """Images and Sounds for Pybricks on ev3dev.""" from ..parameters import Color diff --git a/pybricks/messaging.py b/pybricks/messaging.py index 977b403..6f4b98c 100644 --- a/pybricks/messaging.py +++ b/pybricks/messaging.py @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -# Copyright (C) 2020 David Lechner +# Copyright (c) 2018-2020 The Pybricks Authors """ Classes to exchange messages between EV3 bricks. diff --git a/pybricks/nxtdevices.py b/pybricks/nxtdevices.py index 43ef9b2..ef6b6f5 100644 --- a/pybricks/nxtdevices.py +++ b/pybricks/nxtdevices.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors + """Use LEGO® MINDSTORMS® NXT motors and sensors with the EV3 brick.""" diff --git a/pybricks/parameters.py b/pybricks/parameters.py index e9e9b14..01b532e 100644 --- a/pybricks/parameters.py +++ b/pybricks/parameters.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors + """Constant parameters/arguments for the Pybricks API.""" from enum import Enum diff --git a/pybricks/pupdevices.py b/pybricks/pupdevices.py index 2ee1ff0..764bf0e 100644 --- a/pybricks/pupdevices.py +++ b/pybricks/pupdevices.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors + """LEGO® Powered Up motor, sensors, and lights.""" from .builtins import KeyPad, Accelerometer, ColorLight diff --git a/pybricks/robotics.py b/pybricks/robotics.py index 59aeda8..169424f 100644 --- a/pybricks/robotics.py +++ b/pybricks/robotics.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors + """Robotics module for the Pybricks API.""" from .parameters import Stop diff --git a/pybricks/tools.py b/pybricks/tools.py index e2bbb7c..02cb347 100644 --- a/pybricks/tools.py +++ b/pybricks/tools.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors + """Common tools for timing and data logging."""