Skip to content

Commit f0e8673

Browse files
Update bulid_for_windows.sh to use requirements.txt (#1336)
* Update bulid_for_windows.sh to use requirements.txt * Update build_for_windows.sh * Exclude torch packages * Update build_for_windows.sh * Wrap * Try backtick * Update build_for_windows.sh * Update build_for_windows.sh * Add pySoundFile Co-authored-by: Brian Johnson <[email protected]>
1 parent 9bf1bc7 commit f0e8673

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.circleci/scripts/build_for_windows.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ eval "$(conda shell.bash hook)"
3131
conda create -qyn testenv python=3.7
3232
conda activate testenv
3333

34-
conda install sphinx
35-
pip install sphinx_gallery==0.3.1 sphinx-copybutton flask pandas spacy ipython scipy pySoundFile scikit-image gym gym-super-mario-bros==7.3.0
36-
pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
37-
pip install ray[tune] tabulate
34+
REQUIREMENTS="$(grep -v '^ *#\|^torch\|^torchaudio\|^torchvision|^torchtext' $PROJECT_DIR/requirements.txt | grep .)"
35+
echo $REQUIREMENTS > requirements.txt
36+
pip install -r requirements.txt
37+
pip install pySoundFile
3838
conda install -yq -c pytorch "cudatoolkit=10.1" pytorch torchvision torchtext
3939
conda install torchaudio -c pytorch-test
4040
python -m spacy download de

0 commit comments

Comments
 (0)