@@ -41,7 +41,7 @@ The project is structured like a normal Python package with a standard ``setup.p
...
@@ -41,7 +41,7 @@ The project is structured like a normal Python package with a standard ``setup.p
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.
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.
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.
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.
## Manylinux wheels
## Manylinux wheels
...
@@ -51,6 +51,10 @@ Linux wheels are built using [manylinux](https://github.com/pypa/python-manylinu
...
@@ -51,6 +51,10 @@ Linux wheels are built using [manylinux](https://github.com/pypa/python-manylinu
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.
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.
## Licensing
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)).
#### Releases
#### Releases
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:
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: