8000
We read every piece of feedback, and take your input very seriously.
To see all avai 8000 lable qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a9a35c8 + 6140e85 commit e576ad4Copy full SHA for e576ad4
setup.py
100644
100755
@@ -48,7 +48,7 @@ def main():
48
"\\", "/"
49
)
50
51
- if os.path.exists(".git"):
+ if not bool(os.environ.get('OPENCV_PYTHON_SKIP_GIT_COMMANDS', False)) and os.path.exists(".git"):
52
import pip._internal.vcs.git as git
53
54
g = git.Git() # NOTE: pip API's are internal, this has to be refactored
@@ -95,6 +95,8 @@ def main():
95
if build_rolling:
96
package_name += "-rolling"
97
98
+ package_name = os.environ.get('OPENCV_PYTHON_PACKAGE_NAME', package_name)
99
+
100
long_description = io.open("README.md", encoding="utf-8").read()
101
102
packages = ["cv2", "cv2.data"]
0 commit comments