[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] (no subject)
From: |
Tetsuo Koyama |
Subject: |
[Getfem-commits] (no subject) |
Date: |
Sun, 27 Oct 2019 17:28:50 -0400 (EDT) |
branch: devel-tetsuo-move-to-python3
commit a7db41d68c1856c1550d8ef5f1c293b5fae680e2
Author: Tetsuo Koyama <address@hidden>
Date: Sun Oct 27 20:33:13 2019 +0900
UPDATE: Document for Python3
---
.travis.yml | 12 ++++++++++++
doc/sphinx/source/install/install_linux.rst | 7 +------
doc/sphinx/source/install/install_mac.rst | 8 +-------
3 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index a48714e..f8a6b9b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,13 @@ before_install:
- sudo apt-get install -y --no-install-recommends liblapack-dev
- sudo apt-get install -y --no-install-recommends libopenblas-dev
- sudo apt-get install -y --no-install-recommends libpython3-dev
+- sudo apt-get install -y --no-install-recommends ufraw
+- sudo apt-get install -y --no-install-recommends imagemagick
+- sudo apt-get install -y --no-install-recommends fig2dev
+- sudo apt-get install -y --no-install-recommends texlive
+- sudo apt-get install -y --no-install-recommends xzdec
+- sudo apt-get install -y --no-install-recommends fig2ps
+- sudo apt-get install -y --no-install-recommends gv
- pip install -r requirements.txt
addons:
apt:
@@ -31,5 +38,10 @@ script:
- ./configure --with-pic
- make -j8
- make -j8 check
+- sudo perl -p -i -e 's/^.*"EPS".*\n//g' /etc/ImageMagick-*/policy.xml
+- sudo perl -p -i -e 's/^.*"PS".*\n//g' /etc/ImageMagick-*/policy.xml
+- sudo perl -p -i -e 's/^.*"PDF".*\n//g' /etc/ImageMagick-*/policy.xml
+- sudo perl -p -i -e 's/^.*"XPS".*\n//g' /etc/ImageMagick-*/policy.xml
+- (cd doc/sphinx; make html)
after_success:
- bash <(curl -s https://codecov.io/bash)
diff --git a/doc/sphinx/source/install/install_linux.rst
b/doc/sphinx/source/install/install_linux.rst
index bcf3b16..0639d08 100644
--- a/doc/sphinx/source/install/install_linux.rst
+++ b/doc/sphinx/source/install/install_linux.rst
@@ -101,15 +101,10 @@ Configure Options
$ ./configure --prefix=my_dest_dir
-* By default, the python interface is built and for python 2 version. You can
disable the built of the python interface with::
+* By default, the python interface is built and for python 3 version. You can
disable the built of the python interface with::
$ ./configure --disable-python
- or either build the interface for python 3 version with
-
- $ ./configure --enable-python3
-
-
Note that there are other options to the configure script. A
``./configure --help`` will list them.
diff --git a/doc/sphinx/source/install/install_mac.rst
b/doc/sphinx/source/install/install_mac.rst
index 2d5ad1b..7cb342b 100644
--- a/doc/sphinx/source/install/install_mac.rst
+++ b/doc/sphinx/source/install/install_mac.rst
@@ -119,13 +119,7 @@ Configure Options
$ ./configure ``--enable-matlab``
depending on the interface you want to build. Note that the python interface
- is build by default and for python 2 version. If you want to build the
- python 3 interface use::
-
- $ ./configure ``--enable-python3``
-
- In that case, you have of course to install a python 3 version on your system
- together with at least ``numpy`` and ``scipy`` packages.
+ is build by default and for python 3 version.
* If you want to use a specific **BLAS** library, you may have to
supply the necessary link flags and libs to the configure script