Skip to content

Commit a08dc37

Browse files
authored
photonlibpy: License under MIT (#1700)
Everything under the `photon-lib` directory is intended to all be licensed under MIT: https://github.com/PhotonVision/photonvision/blob/e40c8fbca08e8397e00e35f72809ac69d752ad57/photon-lib/.styleguide-license#L2 Presumably we don't want to force teams to release their robot code under GPL.
1 parent 5b0ec74 commit a08dc37

File tree

2 files changed

+26
-16
lines changed

2 files changed

+26
-16
lines changed

photon-lib/py/photonlibpy/__init__.py

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
###############################################################################
2-
## Copyright (C) Photon Vision.
3-
###############################################################################
4-
## This program is free software: you can redistribute it and/or modify
5-
## it under the terms of the GNU General Public License as published by
6-
## the Free Software Foundation, either version 3 of the License, or
7-
## (at your option) any later version.
8-
##
9-
## This program is distributed in the hope that it will be useful,
10-
## but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
## GNU General Public License for more details.
13-
##
14-
## You should have received a copy of the GNU General Public License
15-
## along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
###############################################################################
1+
#
2+
# MIT License
3+
#
4+
# Copyright (c) PhotonVision
5+
#
6+
# Permission is hereby granted, free of charge, to any person obtaining a copy
7+
# of this software and associated documentation files (the "Software"), to deal
8+
# in the Software without restriction, including without limitation the rights
9+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
# copies of the Software, and to permit persons to whom the Software is
11+
# furnished to do so, subject to the following conditions:
12+
#
13+
# The above copyright notice and this permission notice shall be included in all
14+
# copies or substantial portions of the Software.
15+
#
16+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
# SOFTWARE.
23+
#
1724

1825
from .estimatedRobotPose import EstimatedRobotPose # noqa
1926
from .packet import Packet # noqa

photon-lib/py/setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,7 @@
7171
author="Photonvision Development Team",
7272
long_description="A Pure-python implementation of PhotonLib",
7373
long_description_content_type="text/markdown",
74+
classifiers=[
75+
"License :: OSI Approved :: MIT License",
76+
],
7477
)

0 commit comments

Comments
 (0)