Skip to content

Commit 00e32f9

Browse files
committed
Updating repo to support non free (for educational purposes)
1 parent fd9fb99 commit 00e32f9

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

LICENSE-3RD-PARTY.txt

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ copy or use the software.
1010
For Open Source Computer Vision Library
1111
(3-clause BSD License)
1212

13+
STRICTLY FOR EDUCATIONAL PURPOSE
14+
NOT FOR DISTRIBUTION
15+
NOT FOR ANY COMMERCIAL PURPOSE
16+
1317
Copyright (C) 2000-2018, Intel Corporation, all rights reserved.
1418
Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved.
1519
Copyright (C) 2009-2016, NVIDIA Corporation, all rights reserved.
@@ -18,6 +22,7 @@ Copyright (C) 2015-2016, OpenCV Foundation, all rights reserved.
1822
Copyright (C) 2015-2016, Itseez Inc., all rights reserved.
1923
Third party copyrights are property of their respective owners.
2024

25+
2126
Redistribution and use in source and binary forms, with or without modification,
2227
are permitted provided that the following conditions are met:
2328

LICENSE.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ furnished to do so, subject to the following conditions:
1111

1212
The above copyright notice and this permission notice shall be included in all
1313
copies or substantial portions of the Software.
14+
STRICTLY FOR EDUCATIONAL PURPOSE
15+
NOT FOR DISTRIBUTION
16+
NOT FOR COMMERCIAL PURPOSE
1417

1518
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1619
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1720
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1821
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1922
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2023
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
24+
SOFTWARE.

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
[![Downloads](http://pepy.tech/badge/opencv-python)](http://pepy.tech/project/opencv-python)
21

32
## OpenCV on Wheels
43

54
**Unofficial** pre-built OpenCV packages for Python.
65

6+
**Strictly for Educational Purpose**
7+
**Do not Redistribute**
8+
**Not for Commercial Use**
9+
10+
711
### Installation and Usage
812

913
1. If you have previous/other manually installed (= not installed via ``pip``) version of OpenCV installed (e.g. cv2 module in the root of Python's site-packages), remove it before installation to avoid conflicts.

setup.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ def main():
4747
# https://stackoverflow.com/questions/1405913/python-32bit-or-64bit-mode
4848
x64 = sys.maxsize > 2**32
4949

50-
package_name = "opencv-python"
50+
package_name = "opencvz-python"
5151

5252
if build_contrib and not build_headless:
53-
package_name = "opencv-contrib-python"
53+
package_name = "opencvz-contrib-python"
5454

5555
if build_contrib and build_headless:
56-
package_name = "opencv-contrib-python-headless"
56+
package_name = "opencvz-contrib-python-headless"
5757

5858
if build_headless and not build_contrib:
59-
package_name = "opencv-python-headless"
59+
package_name = "opencvz-python-headless"
6060

6161
long_description = io.open('README.md', encoding="utf-8").read()
6262
package_version = get_opencv_version()
@@ -111,7 +111,7 @@ def main():
111111
# Otherwise, opencv scripts would want to install `.pyd' right into site-packages,
112112
# and skbuild bails out on seeing that
113113
"-DINSTALL_CREATE_DISTRIB=ON",
114-
114+
"-DOPENCV_ENABLE_NONFREE=ON",
115115
# See opencv/CMakeLists.txt for options and defaults
116116
"-DBUILD_opencv_apps=OFF",
117117
"-DBUILD_SHARED_LIBS=OFF",
@@ -171,14 +171,14 @@ def main():
171171
skbuild.setup(
172172
name=package_name,
173173
version=package_version,
174-
url='https://github.com/skvark/opencv-python',
174+
url='https://github.com/rr93/opencv-python',
175175
license='MIT',
176176
description='Wrapper package for OpenCV python bindings.',
177177
long_description=long_description,
178178
long_description_content_type="text/markdown",
179179
packages=packages,
180180
package_data=package_data,
181-
maintainer="Olli-Pekka Heinisuo",
181+
maintainer="OpenCVZ",
182182
include_package_data=True,
183183
ext_modules=EmptyListWithLength(),
184184
install_requires="numpy>=%s" % numpy_version,

0 commit comments

Comments
 (0)