Skip to content

Commit

Permalink
Added post install script for pywin32 (#1748)
Browse files Browse the repository at this point in the history
* Added post install script for pywin32

* Update command to python

* fix incorrect file extension

* trying pinned version of pywin

* Readding post script install

* Moved post install to install.sh
  • Loading branch information
Nayef211 authored Jun 1, 2022
1 parent 60d9d51 commit 814aa7e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .circleci/unittest/windows/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ conda activate ./env
printf "* Installing PyTorch\n"
conda install -y -c "pytorch-${UPLOAD_CHANNEL}" ${CONDA_CHANNEL_FLAGS} pytorch cpuonly

printf "Installing torchdata nightly\n"
printf "* Installing torchdata nightly\n"
pip install --pre torchdata --extra-index-url https://download.pytorch.org/whl/nightly/cpu

printf "* Installing pywin32_postinstall script\n"
curl --output pywin32_postinstall.py https://raw.githubusercontent.com/mhammond/pywin32/main/pywin32_postinstall.py
python pywin32_postinstall.py -install

printf "* Installing torchtext\n"
git submodule update --init --recursive
"$root_dir/packaging/vc_env_helper.bat" python setup.py develop
Expand Down

0 comments on commit 814aa7e

Please sign in to comment.