pyccel-build

The pyccel-build script builds a Pyccel documentation set. It is called like this:

$ pyccel-build [options] sourcedir [filenames]

where sourcedir is the source directory. Most of the time, you don’t need to specify any filenames.

The pyccel-build script has several options:

-h, --help, --version

Display usage summary or Pyccel version.

General options

--output-dir OUTPUT_DIR

Output directory.

--convert-only

Converts pyccel files only without build. (see convertion_doc).

-b BUILDER

builder to use (default: fortran)

-a

write all files (default: only write new and changed files)

-E

don’t use a saved environment, always read all files

-j N

build in parallel with N processes where possible

Build configuration options

-c PATH

path where configuration file (conf.py) is located (default: same as SOURCEDIR)

-D setting=value

override a setting in configuration file

Console output options

-v

increase verbosity (can be repeated)

-q

no output on stdout, just warnings on stderr

-Q

no output at all, not even warnings

-W

turn warnings into errors