Skip to content

Commit 6d11053

Browse files
Haowei Yusmtakeda
authored andcommitted
Enable arrow tests on windows
1 parent b4d4a61 commit 6d11053

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

scripts/install.bat

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ nuget install secure-file -ExcludeVersion
22
secure-file\tools\secure-file -decrypt parameters.appveyor.py.enc -secret %my_secret% -out parameters.py
33
copy parameters.py test
44

5+
SET SCRIPT_DIR=%~dp0
6+
57
"%PYTHON%/python.exe" -m venv env
68
call env\Scripts\activate
79
# https://github.com/pypa/pip/issues/6566
@@ -11,5 +13,16 @@ pip install numpy
1113
pip install pendulum
1214
pip install pyarrow
1315
pip install pytest pytest-cov pytest-rerunfailures
14-
pip install .
16+
pip install wheel
17+
pip install Cython
18+
set ENABLE_EXT_MODULES=true
19+
python setup.py bdist_wheel -d dist
20+
21+
:: figure out connector wheel file name
22+
cd dist
23+
dir /b * > whl_name
24+
set /p connector_whl=<whl_name
25+
pip install %connector_whl%
1526
pip list --format=columns
27+
28+
cd %SCRIPT_DIR%/..

0 commit comments

Comments
 (0)