Skip to content

Commit 0727f01

Browse files
committed
fix the CI build flag
1 parent 40042cd commit 0727f01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ build_script:
141141
- cmd: |
142142
"%PYTHON%/python.exe" -m pip install --upgrade pip
143143
"%PYTHON%/python.exe" -m pip install --upgrade setuptools
144-
set "CI_BUILD=True" && "%PYTHON%/python.exe" -m pip wheel --wheel-dir=%cd%\dist . --verbose
144+
set "CI_BUILD=1" && "%PYTHON%/python.exe" -m pip wheel --wheel-dir=%cd%\dist . --verbose
145145
146146
before_test:
147147
- ps: |

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def main():
1414
os.chdir(os.path.dirname(os.path.abspath(__file__)))
1515

1616
CI_BUILD = os.environ.get("CI_BUILD", "False")
17-
is_CI_build = True if CI_BUILD == "True" else False
17+
is_CI_build = True if CI_BUILD == "1" else False
1818
cmake_source_dir = "opencv"
1919
minimum_supported_numpy = "1.13.1"
2020
build_contrib = get_build_env_var_by_name("contrib")

0 commit comments

Comments
 (0)