Skip to content

Commit 9f4dcc2

Browse files
committed
add licensing information
1 parent 2d80789 commit 9f4dcc2

File tree

4 files changed

+71
-1
lines changed

4 files changed

+71
-1
lines changed

LICENSE-3RD-PARTY.txt

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
OpenCV library is redistributed within opencv-python package.
2+
This license applies to OpenCV binary in the directory cv2/.
3+
4+
By downloading, copying, installing or using the software you agree to this license.
5+
If you do not agree to this license, do not download, install,
6+
copy or use the software.
7+
8+
9+
License Agreement
10+
For Open Source Computer Vision Library
11+
(3-clause BSD License)
12+
13+
Copyright (C) 2000-2016, Intel Corporation, all rights reserved.
14+
Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved.
15+
Copyright (C) 2009-2016, NVIDIA Corporation, all rights reserved.
16+
Copyright (C) 2010-2013, Advanced Micro Devices, Inc., all rights reserved.
17+
Copyright (C) 2015-2016, OpenCV Foundation, all rights reserved.
18+
Copyright (C) 2015-2016, Itseez Inc., all rights reserved.
19+
Third party copyrights are property of their respective owners.
20+
21+
Redistribution and use in source and binary forms, with or without modification,
22+
are permitted provided that the following conditions are met:
23+
24+
* Redistributions of source code must retain the above copyright notice,
25+
this list of conditions and the following disclaimer.
26+
27+
* Redistributions in binary form must reproduce the above copyright notice,
28+
this list of conditions and the following disclaimer in the documentation
29+
and/or other materials provided with the distribution.
30+
31+
* Neither the names of the copyright holders nor the names of the contributors
32+
may be used to endorse or promote products derived from this software
33+
without specific prior written permission.
34+
35+
This software is provided by the copyright holders and contributors "as is" and
36+
any express or implied warranties, including, but not limited to, the implied
37+
warranties of merchantability and fitness for a particular purpose are disclaimed.
38+
In no event shall copyright holders or contributors be liable for any direct,
39+
indirect, incidental, special, exemplary, or consequential damages
40+
(including, but not limited to, procurement of substitute goods or services;
41+
loss of use, data, or profits; or business interruption) however caused
42+
and on any theory of liability, whether in contract, strict liability,
43+
or tort (including negligence or otherwise) arising in any way out of
44+
the use of this software, even if advised of the possibility of such damage.

LICENSE.txt

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2016 Olli-Pekka Heinisuo, Carlos Martinez
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The project is structured like a normal Python package with a standard ``setup.p
4141

4242
Currently the ``find_version.py`` file parses OpenCV version information from the OpenCV sources. OpenCV depends on numpy, so ``setup.py`` checks the numpy version also with the help of pip.
4343

44-
As described earlier, for example the ``.pyd`` file on Windows is normally copied to site-packages. I don't want to pollute the root folder, so the ``__init__.py`` file in cv2 folder handles the import logic correctly by importing the actual ``.pyd`` module and replacing the imported cv2 package in ``sys.modudes`` with the cv2 module to retain backward compatibility.
44+
As described earlier, for example the ``.pyd`` file on Windows is normally copied to site-packages. To avoid polluting the root folder the ``__init__.py`` file in cv2 folder handles the import logic correctly by importing the actual ``.pyd`` module and replacing the imported cv2 package in ``sys.modudes`` with the cv2 module to retain backward compatibility.
4545

4646
## Manylinux wheels
4747

@@ -51,6 +51,10 @@ Linux wheels are built using [manylinux](https://github.com/pypa/python-manylinu
5151

5252
Currently the ``find_version.py`` script searches for the version information from OpenCV sources and appends also a revision number specific to this repository to the version string.
5353

54+
## Licensing
55+
56+
Opencv-python package (scripts in this repository) is available under MIT license. The OpenCV itself is available under [3-clause BSD License](https://github.com/opencv/opencv/blob/master/LICENSE) ([LICENSE-3RD-PARTY.txt](https://github.com/skvark/opencv-python/blob/master/LICENSE-3RD-PARTY.txt)).
57+
5458
#### Releases
5559

5660
A release is made and uploaded to PyPI when a new tag is pushed to master branch. These tags differentiate packages (this repo might have modifications but OpenCV version stays same) and should be incremented sequentially. In practice, release version numbers look like this:

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
numpy
22
wheel
33
twine
4+
pypandoc

0 commit comments

Comments
 (0)