File tree 4 files changed +6
-13
lines changed
4 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,12 @@ install:
29
29
- ps : wget https://github.com/clab/dynet/releases/download/2.1/eigen-b2e267dc99d4.zip -OutFile eigen.zip
30
30
- cmd : mkdir C:\projects\eigen
31
31
- cmd : 7z x eigen.zip -o"C:\projects\eigen" -y > nul
32
- - set PATH=%MINICONDA%;%MINICONDA%\Scripts;C:\Program Files (x86)\Pandoc; %PATH%
32
+ - set PATH=%MINICONDA%;%MINICONDA%\Scripts;%PATH%
33
33
- conda config --set always_yes yes --set changeps1 no
34
34
- conda update -q conda
35
35
- conda info -a
36
- - conda create -q -n test-env python=%PYTHON_VERSION% cython numpy pypandoc
36
+ - conda create -q -n test-env python=%PYTHON_VERSION% cython numpy
37
37
- activate test-env
38
- - cinst pandoc
39
38
- ps : if ($env:APPVEYOR_REPO_TAG -eq $True) { (gc setup.py) -replace '. (version=.)0.0.0', "`${1}$env:APPVEYOR_REPO_TAG_NAME" | Out-File -encoding 'UTF8' setup.py }
40
39
41
40
before_build :
Original file line number Diff line number Diff line change 14
14
for PYBIN in /opt/python/* ${PYVER/ ./ } * /bin; do
15
15
" $PYBIN /pip" install -U pip
16
16
" $PYBIN /pip" install --prefer-binary cryptography
17
- " $PYBIN /pip" install -U numpy pypandoc twine cython
18
- if [[ " $BUILD_ARCH " != i686 ]]; then
19
- " $PYBIN /python" -c ' from pypandoc.pandoc_download import *; download_pandoc()'
20
- fi || true # It's ok if we fail installing pandoc; only important for deployment
17
+ " $PYBIN /pip" install -U numpy twine cython
21
18
if [[ -n " $DYNET_TEST " ]]; then
22
19
" $TRAVIS_BUILD_DIR " /.travis/test_dynet.sh
23
20
else # build
Original file line number Diff line number Diff line change 3
3
4
4
cd " $TRAVIS_BUILD_DIR "
5
5
source activate " $PYVER "
6
- pip install pypandoc
7
6
python setup.py bdist_wheel
8
7
cp -vr build/py* /python/dist ./
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -xe
3
3
4
- # Boost, Pandoc, Python packages
4
+ # Boost, Python packages
5
5
if [[ " $TRAVIS_OS_NAME " == " linux" ]]; then
6
6
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
7
7
sudo apt-get -qq update
8
8
sudo apt-get install -y gcc-4.8 g++-4.8 libssl-dev
9
- PYTHON_PACKAGES=" numpy pypandoc twine auditwheel cython"
9
+ PYTHON_PACKAGES=" numpy twine auditwheel cython"
10
10
if [[ " $PYTHON_INSTALL " == manual ]]; then
11
11
sudo apt-get install -y --allow-unauthenticated libboost-filesystem1.55-dev libboost-program-options1.55-dev libboost-serialization1.55-dev libboost-test1.55-dev libboost-regex1.55-dev
12
12
sudo -H pip install -U $PYTHON_PACKAGES
13
13
else
14
- sudo apt-get install -y pandoc
15
14
pip install -U pip
16
15
pip install --prefer-binary cryptography
17
16
pip install -U $PYTHON_PACKAGES
18
17
fi
19
18
else
20
19
brew update
21
- brew install pandoc
22
20
# Install Miniconda
23
21
export MINICONDA_OS_NAME=MacOSX MINICONDA_ARCH=x86_64
24
22
wget " https://repo.continuum.io/miniconda/Miniconda3-latest-$MINICONDA_OS_NAME -$MINICONDA_ARCH .sh" -O miniconda.sh
31
29
# Useful for debugging any issues with conda
32
30
conda info -a
33
31
source activate " $PYVER "
34
- pip install pypandoc twine
32
+ pip install twine
35
33
fi
36
34
37
35
# CUDA
You can’t perform that action at this time.
0 commit comments