From 904b08f497e7dc10a9704cdfa316ae527e301a5f Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 18 Nov 2015 17:16:17 +0200 Subject: [PATCH] Add Apache License, Version 2.0 to @PlatformIO source code --- LICENSE | 187 ++++++++++++++++-- README.rst | 5 +- platformio/__init__.py | 19 +- platformio/__main__.py | 15 +- platformio/app.py | 15 +- platformio/builder/__init__.py | 15 +- platformio/builder/main.py | 15 +- platformio/builder/scripts/__init__.py | 15 +- platformio/builder/scripts/atmelavr.py | 15 +- platformio/builder/scripts/atmelsam.py | 15 +- platformio/builder/scripts/basearm.py | 15 +- platformio/builder/scripts/baseavr.py | 15 +- platformio/builder/scripts/espressif.py | 15 +- .../builder/scripts/frameworks/__init__.py | 15 +- .../builder/scripts/frameworks/arduino.py | 15 +- .../builder/scripts/frameworks/cmsis.py | 15 +- .../builder/scripts/frameworks/energia.py | 15 +- .../builder/scripts/frameworks/libopencm3.py | 15 +- platformio/builder/scripts/frameworks/mbed.py | 15 +- platformio/builder/scripts/frameworks/spl.py | 15 +- .../builder/scripts/freescalekinetis.py | 15 +- platformio/builder/scripts/linux_arm.py | 15 +- platformio/builder/scripts/linux_i686.py | 15 +- platformio/builder/scripts/linux_x86_64.py | 15 +- platformio/builder/scripts/native.py | 15 +- platformio/builder/scripts/nordicnrf51.py | 15 +- platformio/builder/scripts/nxplpc.py | 15 +- .../builder/scripts/siliconlabsefm32.py | 15 +- platformio/builder/scripts/ststm32.py | 15 +- platformio/builder/scripts/teensy.py | 15 +- platformio/builder/scripts/timsp430.py | 15 +- platformio/builder/scripts/titiva.py | 15 +- platformio/builder/scripts/windows_x86.py | 15 +- platformio/builder/tools/__init__.py | 15 +- platformio/builder/tools/pioar.py | 15 +- platformio/builder/tools/piomisc.py | 15 +- platformio/builder/tools/pioupload.py | 15 +- platformio/builder/tools/platformio.py | 15 +- platformio/commands/__init__.py | 15 +- platformio/commands/boards.py | 15 +- platformio/commands/ci.py | 15 +- platformio/commands/init.py | 15 +- platformio/commands/lib.py | 15 +- platformio/commands/platforms.py | 15 +- platformio/commands/run.py | 15 +- platformio/commands/serialports.py | 15 +- platformio/commands/settings.py | 15 +- platformio/commands/update.py | 15 +- platformio/commands/upgrade.py | 15 +- platformio/downloader.py | 15 +- platformio/exception.py | 15 +- platformio/ide/__init__.py | 15 +- platformio/ide/projectgenerator.py | 15 +- platformio/libmanager.py | 15 +- platformio/maintenance.py | 15 +- platformio/pkgmanager.py | 15 +- platformio/platforms/__init__.py | 15 +- platformio/platforms/atmelavr.py | 15 +- platformio/platforms/atmelsam.py | 15 +- platformio/platforms/base.py | 15 +- platformio/platforms/espressif.py | 15 +- platformio/platforms/freescalekinetis.py | 15 +- platformio/platforms/linux_arm.py | 15 +- platformio/platforms/linux_i686.py | 15 +- platformio/platforms/linux_x86_64.py | 15 +- platformio/platforms/native.py | 15 +- platformio/platforms/nordicnrf51.py | 15 +- platformio/platforms/nxplpc.py | 15 +- platformio/platforms/siliconlabsefm32.py | 15 +- platformio/platforms/ststm32.py | 15 +- platformio/platforms/teensy.py | 15 +- platformio/platforms/timsp430.py | 15 +- platformio/platforms/titiva.py | 15 +- platformio/platforms/windows_x86.py | 15 +- platformio/telemetry.py | 15 +- platformio/unpacker.py | 15 +- platformio/util.py | 15 +- scripts/99-platformio-udev.rules | 15 +- scripts/docspregen.py | 15 +- scripts/fixsymlink.py | 15 +- scripts/get-platformio.py | 15 +- scripts/mbed_to_package.py | 15 +- setup.py | 17 +- tests/commands/test_boards.py | 15 +- tests/commands/test_init.py | 15 +- tests/commands/test_lib.py | 15 +- tests/commands/test_platforms.py | 15 +- tests/commands/test_settings.py | 15 +- tests/conftest.py | 15 +- tests/test_examples.py | 15 +- tests/test_pkgmanifest.py | 15 +- tox.ini | 15 +- 92 files changed, 1346 insertions(+), 202 deletions(-) diff --git a/LICENSE b/LICENSE index 50d24ce8..4d1abd5b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,174 @@ -The MIT License (MIT) + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -Copyright (c) 2014-2015 Ivan Kravets +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -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: +1. Definitions. -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +"License" shall mean the terms and conditions for use, reproduction, +and distribution as defined by Sections 1 through 9 of this document. -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. \ No newline at end of file +"Licensor" shall mean the copyright owner or entity authorized by +the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all +other entities that control, are controlled by, or are under common +control with that entity. For the purposes of this definition, +"control" means (i) the power, direct or indirect, to cause the +direction or management of such entity, whether by contract or +otherwise, or (ii) ownership of fifty percent (50%) or more of the +outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity +exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, +including but not limited to software source code, documentation +source, and configuration files. + +"Object" form shall mean any form resulting from mechanical +transformation or translation of a Source form, including but +not limited to compiled object code, generated documentation, +and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or +Object form, made available under the License, as indicated by a +copyright notice that is included in or attached to the work +(an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object +form, that is based on (or derived from) the Work and for which the +editorial revisions, annotations, elaborations, or other modifications +represent, as a whole, an original work of authorship. For the purposes +of this License, Derivative Works shall not include works that remain +separable from, or merely link (or bind by name) to the interfaces of, +the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including +the original version of the Work and any modifications or additions +to that Work or Derivative Works thereof, that is intentionally +submitted to Licensor for inclusion in the Work by the copyright owner +or by an individual or Legal Entity authorized to submit on behalf of +the copyright owner. For the purposes of this definition, "submitted" +means any form of electronic, verbal, or written communication sent +to the Licensor or its representatives, including but not limited to +communication on electronic mailing lists, source code control systems, +and issue tracking systems that are managed by, or on behalf of, the +Licensor for the purpose of discussing and improving the Work, but +excluding communication that is conspicuously marked or otherwise +designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity +on behalf of whom a Contribution has been received by Licensor and +subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of +this License, each Contributor hereby grants to You a perpetual, +worldwide, non-exclusive, no-charge, royalty-free, irrevocable +copyright license to reproduce, prepare Derivative Works of, +publicly display, publicly perform, sublicense, and distribute the +Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of +this License, each Contributor hereby grants to You a perpetual, +worldwide, non-exclusive, no-charge, royalty-free, irrevocable +(except as stated in this section) patent license to make, have made, +use, offer to sell, sell, import, and otherwise transfer the Work, +where such license applies only to those patent claims licensable +by such Contributor that are necessarily infringed by their +Contribution(s) alone or by combination of their Contribution(s) +with the Work to which such Contribution(s) was submitted. If You +institute patent litigation against any entity (including a +cross-claim or counterclaim in a lawsuit) alleging that the Work +or a Contribution incorporated within the Work constitutes direct +or contributory patent infringement, then any patent licenses +granted to You under this License for that Work shall terminate +as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the +Work or Derivative Works thereof in any medium, with or without +modifications, and in Source or Object form, provided that You +meet the following conditions: + +(a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + +(b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + +(c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + +(d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + +You may add Your own copyright statement to Your modifications and +may provide additional or different license terms and conditions +for use, reproduction, or distribution of Your modifications, or +for any such Derivative Works as a whole, provided Your use, +reproduction, and distribution of the Work otherwise complies with +the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, +any Contribution intentionally submitted for inclusion in the Work +by You to the Licensor shall be under the terms and conditions of +this License, without any additional terms or conditions. +Notwithstanding the above, nothing herein shall supersede or modify +the terms of any separate license agreement you may have executed +with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade +names, trademarks, service marks, or product names of the Licensor, +except as required for reasonable and customary use in describing the +origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or +agreed to in writing, Licensor provides the Work (and each +Contributor provides its Contributions) on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied, including, without limitation, any warranties or conditions +of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A +PARTICULAR PURPOSE. You are solely responsible for determining the +appropriateness of using or redistributing the Work and assume any +risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, +whether in tort (including negligence), contract, or otherwise, +unless required by applicable law (such as deliberate and grossly +negligent acts) or agreed to in writing, shall any Contributor be +liable to You for damages, including any direct, indirect, special, +incidental, or consequential damages of any character arising as a +result of this License or out of the use or inability to use the +Work (including but not limited to damages for loss of goodwill, +work stoppage, computer failure or malfunction, or any and all +other commercial damages or losses), even if such Contributor +has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing +the Work or Derivative Works thereof, You may choose to offer, +and charge a fee for, acceptance of support, warranty, indemnity, +or other liability obligations and/or rights consistent with this +License. However, in accepting such obligations, You may act only +on Your own behalf and on Your sole responsibility, not on behalf +of any other Contributor, and only if You agree to indemnify, +defend, and hold each Contributor harmless for any liability +incurred by, or claims asserted against, such Contributor by reason +of your accepting any such warranty or additional liability. diff --git a/README.rst b/README.rst index a272fce8..5581be75 100644 --- a/README.rst +++ b/README.rst @@ -170,6 +170,7 @@ Frameworks: Licence ------- -Copyright (C) 2014-2015 Ivan Kravets +Copyright 2014-2015 Ivan Kravets -Licenced under the MIT Licence. +The PlatformIO is licensed under the permissive Apache 2.0 licence, +so you can use it in both commercial and personal projects with confidence. diff --git a/platformio/__init__.py b/platformio/__init__.py index e78f7e30..9a5e462b 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. VERSION = (2, 4, "0.dev4") __version__ = ".".join([str(s) for s in VERSION]) @@ -15,7 +26,7 @@ __url__ = "http://platformio.org" __author__ = "Ivan Kravets" __email__ = "me@ikravets.com" -__license__ = "MIT License" -__copyright__ = "Copyright (C) 2014-2015 Ivan Kravets" +__license__ = "Apache Software License" +__copyright__ = "Copyright 2014-2015 Ivan Kravets" __apiurl__ = "http://api.platformio.org" diff --git a/platformio/__main__.py b/platformio/__main__.py index 011f8549..b437e760 100644 --- a/platformio/__main__.py +++ b/platformio/__main__.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from os import listdir from os.path import join diff --git a/platformio/app.py b/platformio/app.py index 8690ed21..0fc162ee 100644 --- a/platformio/app.py +++ b/platformio/app.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import json from os import environ, getenv diff --git a/platformio/builder/__init__.py b/platformio/builder/__init__.py index ca6f0304..cbfe6a0f 100644 --- a/platformio/builder/__init__.py +++ b/platformio/builder/__init__.py @@ -1,2 +1,13 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/platformio/builder/main.py b/platformio/builder/main.py index 4495e15b..83ef0db8 100644 --- a/platformio/builder/main.py +++ b/platformio/builder/main.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. try: from platformio import util diff --git a/platformio/builder/scripts/__init__.py b/platformio/builder/scripts/__init__.py index ca6f0304..cbfe6a0f 100644 --- a/platformio/builder/scripts/__init__.py +++ b/platformio/builder/scripts/__init__.py @@ -1,2 +1,13 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/platformio/builder/scripts/atmelavr.py b/platformio/builder/scripts/atmelavr.py index 7e3bba2c..ab4d181d 100644 --- a/platformio/builder/scripts/atmelavr.py +++ b/platformio/builder/scripts/atmelavr.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Atmel AVR series of microcontrollers diff --git a/platformio/builder/scripts/atmelsam.py b/platformio/builder/scripts/atmelsam.py index 00d0fa78..49abe370 100644 --- a/platformio/builder/scripts/atmelsam.py +++ b/platformio/builder/scripts/atmelsam.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Atmel SAM series of microcontrollers diff --git a/platformio/builder/scripts/basearm.py b/platformio/builder/scripts/basearm.py index cb685caf..3c689804 100644 --- a/platformio/builder/scripts/basearm.py +++ b/platformio/builder/scripts/basearm.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Base for ARM microcontrollers. diff --git a/platformio/builder/scripts/baseavr.py b/platformio/builder/scripts/baseavr.py index 7566bcc4..ae2aed7c 100644 --- a/platformio/builder/scripts/baseavr.py +++ b/platformio/builder/scripts/baseavr.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Base for Atmel AVR series of microcontrollers diff --git a/platformio/builder/scripts/espressif.py b/platformio/builder/scripts/espressif.py index d713a897..fde0f7b6 100644 --- a/platformio/builder/scripts/espressif.py +++ b/platformio/builder/scripts/espressif.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Espressif MCUs diff --git a/platformio/builder/scripts/frameworks/__init__.py b/platformio/builder/scripts/frameworks/__init__.py index ca6f0304..cbfe6a0f 100644 --- a/platformio/builder/scripts/frameworks/__init__.py +++ b/platformio/builder/scripts/frameworks/__init__.py @@ -1,2 +1,13 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/platformio/builder/scripts/frameworks/arduino.py b/platformio/builder/scripts/frameworks/arduino.py index 69e00df3..b534f8ac 100644 --- a/platformio/builder/scripts/frameworks/arduino.py +++ b/platformio/builder/scripts/frameworks/arduino.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Arduino diff --git a/platformio/builder/scripts/frameworks/cmsis.py b/platformio/builder/scripts/frameworks/cmsis.py index 2d8d55c7..a0098d84 100644 --- a/platformio/builder/scripts/frameworks/cmsis.py +++ b/platformio/builder/scripts/frameworks/cmsis.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ CMSIS diff --git a/platformio/builder/scripts/frameworks/energia.py b/platformio/builder/scripts/frameworks/energia.py index 69bdb8fa..099e4051 100644 --- a/platformio/builder/scripts/frameworks/energia.py +++ b/platformio/builder/scripts/frameworks/energia.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Energia diff --git a/platformio/builder/scripts/frameworks/libopencm3.py b/platformio/builder/scripts/frameworks/libopencm3.py index ec6f37ce..8255c442 100644 --- a/platformio/builder/scripts/frameworks/libopencm3.py +++ b/platformio/builder/scripts/frameworks/libopencm3.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ libOpenCM3 diff --git a/platformio/builder/scripts/frameworks/mbed.py b/platformio/builder/scripts/frameworks/mbed.py index f4c18f42..fbd86801 100644 --- a/platformio/builder/scripts/frameworks/mbed.py +++ b/platformio/builder/scripts/frameworks/mbed.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ mbed diff --git a/platformio/builder/scripts/frameworks/spl.py b/platformio/builder/scripts/frameworks/spl.py index 857de8c5..41832a3f 100644 --- a/platformio/builder/scripts/frameworks/spl.py +++ b/platformio/builder/scripts/frameworks/spl.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ SPL diff --git a/platformio/builder/scripts/freescalekinetis.py b/platformio/builder/scripts/freescalekinetis.py index 0f23c8f6..89e8326c 100644 --- a/platformio/builder/scripts/freescalekinetis.py +++ b/platformio/builder/scripts/freescalekinetis.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Freescale Kinetis series ARM microcontrollers. diff --git a/platformio/builder/scripts/linux_arm.py b/platformio/builder/scripts/linux_arm.py index b8864388..3d571cc5 100644 --- a/platformio/builder/scripts/linux_arm.py +++ b/platformio/builder/scripts/linux_arm.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Linux ARM diff --git a/platformio/builder/scripts/linux_i686.py b/platformio/builder/scripts/linux_i686.py index d0b0968e..8e07b247 100644 --- a/platformio/builder/scripts/linux_i686.py +++ b/platformio/builder/scripts/linux_i686.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Linux Linux i686 / 32-bit diff --git a/platformio/builder/scripts/linux_x86_64.py b/platformio/builder/scripts/linux_x86_64.py index ecb5e775..5f9647fa 100644 --- a/platformio/builder/scripts/linux_x86_64.py +++ b/platformio/builder/scripts/linux_x86_64.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Linux Linux x64_64 / 64-bit diff --git a/platformio/builder/scripts/native.py b/platformio/builder/scripts/native.py index 28e94fe9..90eb3cfa 100644 --- a/platformio/builder/scripts/native.py +++ b/platformio/builder/scripts/native.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for native platform diff --git a/platformio/builder/scripts/nordicnrf51.py b/platformio/builder/scripts/nordicnrf51.py index 0abdf698..5d32791d 100644 --- a/platformio/builder/scripts/nordicnrf51.py +++ b/platformio/builder/scripts/nordicnrf51.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Nordic nRF51 series ARM microcontrollers. diff --git a/platformio/builder/scripts/nxplpc.py b/platformio/builder/scripts/nxplpc.py index 9585eb5a..20ee5e54 100644 --- a/platformio/builder/scripts/nxplpc.py +++ b/platformio/builder/scripts/nxplpc.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for NXP LPC series ARM microcontrollers. diff --git a/platformio/builder/scripts/siliconlabsefm32.py b/platformio/builder/scripts/siliconlabsefm32.py index 1fd710b9..2b28fb64 100644 --- a/platformio/builder/scripts/siliconlabsefm32.py +++ b/platformio/builder/scripts/siliconlabsefm32.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Silicon Labs EFM32 series ARM microcontrollers. diff --git a/platformio/builder/scripts/ststm32.py b/platformio/builder/scripts/ststm32.py index d9e7f6f5..276192bc 100644 --- a/platformio/builder/scripts/ststm32.py +++ b/platformio/builder/scripts/ststm32.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for ST STM32 Series ARM microcontrollers. diff --git a/platformio/builder/scripts/teensy.py b/platformio/builder/scripts/teensy.py index e7a5643f..f73d157b 100644 --- a/platformio/builder/scripts/teensy.py +++ b/platformio/builder/scripts/teensy.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Teensy boards diff --git a/platformio/builder/scripts/timsp430.py b/platformio/builder/scripts/timsp430.py index b38d4c12..7fc10303 100644 --- a/platformio/builder/scripts/timsp430.py +++ b/platformio/builder/scripts/timsp430.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Texas Instruments diff --git a/platformio/builder/scripts/titiva.py b/platformio/builder/scripts/titiva.py index a94a64e7..800f9a76 100644 --- a/platformio/builder/scripts/titiva.py +++ b/platformio/builder/scripts/titiva.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Texas Instruments diff --git a/platformio/builder/scripts/windows_x86.py b/platformio/builder/scripts/windows_x86.py index d06a9f80..e29a62d9 100644 --- a/platformio/builder/scripts/windows_x86.py +++ b/platformio/builder/scripts/windows_x86.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """ Builder for Windows x86 / 32bit diff --git a/platformio/builder/tools/__init__.py b/platformio/builder/tools/__init__.py index ca6f0304..cbfe6a0f 100644 --- a/platformio/builder/tools/__init__.py +++ b/platformio/builder/tools/__init__.py @@ -1,2 +1,13 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/platformio/builder/tools/pioar.py b/platformio/builder/tools/pioar.py index c98fa6c0..cd3b9be0 100644 --- a/platformio/builder/tools/pioar.py +++ b/platformio/builder/tools/pioar.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from hashlib import md5 from os.path import join diff --git a/platformio/builder/tools/piomisc.py b/platformio/builder/tools/piomisc.py index ae1e2323..95e78e24 100644 --- a/platformio/builder/tools/piomisc.py +++ b/platformio/builder/tools/piomisc.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import atexit import re diff --git a/platformio/builder/tools/pioupload.py b/platformio/builder/tools/pioupload.py index bb606d5e..8bb33b9f 100644 --- a/platformio/builder/tools/pioupload.py +++ b/platformio/builder/tools/pioupload.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from os.path import join, isfile from shutil import copyfile diff --git a/platformio/builder/tools/platformio.py b/platformio/builder/tools/platformio.py index 26171436..c74ce530 100644 --- a/platformio/builder/tools/platformio.py +++ b/platformio/builder/tools/platformio.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import re from glob import glob diff --git a/platformio/commands/__init__.py b/platformio/commands/__init__.py index ca6f0304..cbfe6a0f 100644 --- a/platformio/commands/__init__.py +++ b/platformio/commands/__init__.py @@ -1,2 +1,13 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/platformio/commands/boards.py b/platformio/commands/boards.py index dcec8f69..934d308a 100644 --- a/platformio/commands/boards.py +++ b/platformio/commands/boards.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import json diff --git a/platformio/commands/ci.py b/platformio/commands/ci.py index b65f09fc..71d05fb2 100644 --- a/platformio/commands/ci.py +++ b/platformio/commands/ci.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import stat from glob import glob diff --git a/platformio/commands/init.py b/platformio/commands/init.py index c558fcd5..f58654db 100644 --- a/platformio/commands/init.py +++ b/platformio/commands/init.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from os import getcwd, makedirs from os.path import isdir, isfile, join diff --git a/platformio/commands/lib.py b/platformio/commands/lib.py index b2fed51b..72c21737 100644 --- a/platformio/commands/lib.py +++ b/platformio/commands/lib.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import json diff --git a/platformio/commands/platforms.py b/platformio/commands/platforms.py index bdfae393..71899117 100644 --- a/platformio/commands/platforms.py +++ b/platformio/commands/platforms.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import json from datetime import datetime diff --git a/platformio/commands/run.py b/platformio/commands/run.py index 11a16325..1a756dfc 100644 --- a/platformio/commands/run.py +++ b/platformio/commands/run.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from datetime import datetime from hashlib import sha1 diff --git a/platformio/commands/serialports.py b/platformio/commands/serialports.py index a1a89881..6c6e58ff 100644 --- a/platformio/commands/serialports.py +++ b/platformio/commands/serialports.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import json import sys diff --git a/platformio/commands/settings.py b/platformio/commands/settings.py index e600e197..05c2e37c 100644 --- a/platformio/commands/settings.py +++ b/platformio/commands/settings.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import click diff --git a/platformio/commands/update.py b/platformio/commands/update.py index 8afdc5ed..0b23a5e5 100644 --- a/platformio/commands/update.py +++ b/platformio/commands/update.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import click diff --git a/platformio/commands/upgrade.py b/platformio/commands/upgrade.py index c4c9011e..438e5dc2 100644 --- a/platformio/commands/upgrade.py +++ b/platformio/commands/upgrade.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import click import requests diff --git a/platformio/downloader.py b/platformio/downloader.py index 304c5002..4391a39f 100644 --- a/platformio/downloader.py +++ b/platformio/downloader.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from email.utils import parsedate_tz from math import ceil diff --git a/platformio/exception.py b/platformio/exception.py index 8195912e..e0378083 100644 --- a/platformio/exception.py +++ b/platformio/exception.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. class PlatformioException(Exception): diff --git a/platformio/ide/__init__.py b/platformio/ide/__init__.py index ca6f0304..cbfe6a0f 100644 --- a/platformio/ide/__init__.py +++ b/platformio/ide/__init__.py @@ -1,2 +1,13 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/platformio/ide/projectgenerator.py b/platformio/ide/projectgenerator.py index a66bda87..7e90574c 100644 --- a/platformio/ide/projectgenerator.py +++ b/platformio/ide/projectgenerator.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import json import os diff --git a/platformio/libmanager.py b/platformio/libmanager.py index a358ae7f..0dbe0df0 100644 --- a/platformio/libmanager.py +++ b/platformio/libmanager.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import json import re diff --git a/platformio/maintenance.py b/platformio/maintenance.py index 97675dab..a60e90d9 100644 --- a/platformio/maintenance.py +++ b/platformio/maintenance.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import re import struct diff --git a/platformio/pkgmanager.py b/platformio/pkgmanager.py index 110b9c23..47cde832 100644 --- a/platformio/pkgmanager.py +++ b/platformio/pkgmanager.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from os import makedirs, remove from os.path import basename, isdir, isfile, join diff --git a/platformio/platforms/__init__.py b/platformio/platforms/__init__.py index ca6f0304..cbfe6a0f 100644 --- a/platformio/platforms/__init__.py +++ b/platformio/platforms/__init__.py @@ -1,2 +1,13 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/platformio/platforms/atmelavr.py b/platformio/platforms/atmelavr.py index 11f7205c..25d07a7f 100644 --- a/platformio/platforms/atmelavr.py +++ b/platformio/platforms/atmelavr.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform from platformio.util import get_boards diff --git a/platformio/platforms/atmelsam.py b/platformio/platforms/atmelsam.py index e11d98a4..16e3ca51 100644 --- a/platformio/platforms/atmelsam.py +++ b/platformio/platforms/atmelsam.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform diff --git a/platformio/platforms/base.py b/platformio/platforms/base.py index 21866942..2fcaf8cd 100644 --- a/platformio/platforms/base.py +++ b/platformio/platforms/base.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import os import re diff --git a/platformio/platforms/espressif.py b/platformio/platforms/espressif.py index 4336aeb3..1b4ea3ab 100644 --- a/platformio/platforms/espressif.py +++ b/platformio/platforms/espressif.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform diff --git a/platformio/platforms/freescalekinetis.py b/platformio/platforms/freescalekinetis.py index 56239f17..d076fd67 100644 --- a/platformio/platforms/freescalekinetis.py +++ b/platformio/platforms/freescalekinetis.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform diff --git a/platformio/platforms/linux_arm.py b/platformio/platforms/linux_arm.py index 83aa75b1..87f2c26a 100644 --- a/platformio/platforms/linux_arm.py +++ b/platformio/platforms/linux_arm.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform from platformio.util import get_systype diff --git a/platformio/platforms/linux_i686.py b/platformio/platforms/linux_i686.py index c5928ab8..4598fc66 100644 --- a/platformio/platforms/linux_i686.py +++ b/platformio/platforms/linux_i686.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform from platformio.util import get_systype diff --git a/platformio/platforms/linux_x86_64.py b/platformio/platforms/linux_x86_64.py index a142d076..9cbe74e8 100644 --- a/platformio/platforms/linux_x86_64.py +++ b/platformio/platforms/linux_x86_64.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform from platformio.util import get_systype diff --git a/platformio/platforms/native.py b/platformio/platforms/native.py index f02478cb..8665e12a 100644 --- a/platformio/platforms/native.py +++ b/platformio/platforms/native.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform diff --git a/platformio/platforms/nordicnrf51.py b/platformio/platforms/nordicnrf51.py index e3a09a0d..cbdca343 100644 --- a/platformio/platforms/nordicnrf51.py +++ b/platformio/platforms/nordicnrf51.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform diff --git a/platformio/platforms/nxplpc.py b/platformio/platforms/nxplpc.py index b165731f..80700560 100644 --- a/platformio/platforms/nxplpc.py +++ b/platformio/platforms/nxplpc.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform diff --git a/platformio/platforms/siliconlabsefm32.py b/platformio/platforms/siliconlabsefm32.py index a39f7fb7..ea3c44d8 100644 --- a/platformio/platforms/siliconlabsefm32.py +++ b/platformio/platforms/siliconlabsefm32.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform diff --git a/platformio/platforms/ststm32.py b/platformio/platforms/ststm32.py index 45c029a9..29cedebe 100644 --- a/platformio/platforms/ststm32.py +++ b/platformio/platforms/ststm32.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform diff --git a/platformio/platforms/teensy.py b/platformio/platforms/teensy.py index 3ebc4002..31688f4e 100644 --- a/platformio/platforms/teensy.py +++ b/platformio/platforms/teensy.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform from platformio.util import get_boards diff --git a/platformio/platforms/timsp430.py b/platformio/platforms/timsp430.py index 8973cded..e4f7c0e2 100644 --- a/platformio/platforms/timsp430.py +++ b/platformio/platforms/timsp430.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform diff --git a/platformio/platforms/titiva.py b/platformio/platforms/titiva.py index ffb7e58b..5ba21463 100644 --- a/platformio/platforms/titiva.py +++ b/platformio/platforms/titiva.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform diff --git a/platformio/platforms/windows_x86.py b/platformio/platforms/windows_x86.py index a3ba1878..0c82db03 100644 --- a/platformio/platforms/windows_x86.py +++ b/platformio/platforms/windows_x86.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.platforms.base import BasePlatform diff --git a/platformio/telemetry.py b/platformio/telemetry.py index b7d64392..17dccb38 100644 --- a/platformio/telemetry.py +++ b/platformio/telemetry.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import atexit import platform diff --git a/platformio/unpacker.py b/platformio/unpacker.py index 482aae96..80d66b9e 100644 --- a/platformio/unpacker.py +++ b/platformio/unpacker.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from os import chmod from os.path import join, splitext diff --git a/platformio/util.py b/platformio/util.py index 154b4a98..6f2001b5 100644 --- a/platformio/util.py +++ b/platformio/util.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import collections import functools diff --git a/scripts/99-platformio-udev.rules b/scripts/99-platformio-udev.rules index ac0751e4..0bd48336 100644 --- a/scripts/99-platformio-udev.rules +++ b/scripts/99-platformio-udev.rules @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # UDEV Rules for PlatformIO supported boards, http://platformio.org/#!/boards # diff --git a/scripts/docspregen.py b/scripts/docspregen.py index 50dd4601..15259b51 100644 --- a/scripts/docspregen.py +++ b/scripts/docspregen.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from math import ceil from os.path import dirname, join, realpath diff --git a/scripts/fixsymlink.py b/scripts/fixsymlink.py index 28c24254..05b15b70 100644 --- a/scripts/fixsymlink.py +++ b/scripts/fixsymlink.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from os import chdir, getcwd, readlink, remove, symlink, walk from os.path import exists, islink, join, split diff --git a/scripts/get-platformio.py b/scripts/get-platformio.py index e572a78d..866e2248 100644 --- a/scripts/get-platformio.py +++ b/scripts/get-platformio.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import os import subprocess diff --git a/scripts/mbed_to_package.py b/scripts/mbed_to_package.py index 3e13e460..891fe153 100644 --- a/scripts/mbed_to_package.py +++ b/scripts/mbed_to_package.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import argparse import zipfile diff --git a/setup.py b/setup.py index 1b9a8f48..8649b2e6 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platform import system @@ -52,7 +63,7 @@ setup( "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", + "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: C", "Programming Language :: Python", diff --git a/tests/commands/test_boards.py b/tests/commands/test_boards.py index b44b5e92..3dc92f9b 100644 --- a/tests/commands/test_boards.py +++ b/tests/commands/test_boards.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import json from os.path import isfile, join diff --git a/tests/commands/test_init.py b/tests/commands/test_init.py index d354982e..db1178d4 100644 --- a/tests/commands/test_init.py +++ b/tests/commands/test_init.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from os import makedirs, getcwd from os.path import getsize, isdir, isfile, join diff --git a/tests/commands/test_lib.py b/tests/commands/test_lib.py index aa41decd..17395049 100644 --- a/tests/commands/test_lib.py +++ b/tests/commands/test_lib.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from os import listdir from os.path import isdir, isfile, join diff --git a/tests/commands/test_platforms.py b/tests/commands/test_platforms.py index 310967a2..5e308e48 100644 --- a/tests/commands/test_platforms.py +++ b/tests/commands/test_platforms.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import json diff --git a/tests/commands/test_settings.py b/tests/commands/test_settings.py index 83bdb54e..312b0e80 100644 --- a/tests/commands/test_settings.py +++ b/tests/commands/test_settings.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from platformio.commands.settings import cli from platformio import app diff --git a/tests/conftest.py b/tests/conftest.py index 50170650..08ad1520 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from os import environ diff --git a/tests/test_examples.py b/tests/test_examples.py index 2e98739d..702a82ab 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from glob import glob from os import listdir, walk diff --git a/tests/test_pkgmanifest.py b/tests/test_pkgmanifest.py index b59062b0..3e5965ae 100644 --- a/tests/test_pkgmanifest.py +++ b/tests/test_pkgmanifest.py @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import pytest import requests diff --git a/tox.ini b/tox.ini index 20c742a7..1fb6216e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,16 @@ -# Copyright (C) Ivan Kravets -# See LICENSE for details. +# Copyright 2014-2015 Ivan Kravets +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. [tox] envlist = py26, py27, docs, lint