Installation¶
PyTornado is written in Python and C++. At the moment we do not distribute any precompiled versions. In order to run PyTornado, you will have to compile the C++ code yourself. First, you will need to download the source code from Github:
Warning
We do provide a PyTornado package on PyPI. However, the installation with pip install pytornado will currently result in an incomplete installation due to the uncompiled C++ code.
After downloading the PyTornado source code, extract the archive and then open a terminal in the root folder of the archive. There should be a file called setup.py in this folder (if not, the following command will not work). We will use the Python package installer (pip) to compile and install PyTornado and its dependencies. In a command line run:
pip install .
That’s it! If the command ran successfully, PyTornado is now installed on your system. If you are having troubles with the installation, please send us a message:
Basic requirements¶
Python 3.6 or higher is required. Additional Python libraries used by PyTornado will be installed automatically when you follow the instructions above.
Optional requirements¶
PyTornado fully supports the CPACS format developed by the DLR. If you intend to use CPACS you will have to install two additional libraries:
- Tixi (https://github.com/DLR-SC/tixi)
- Tigl (https://github.com/DLR-SC/tigl)
Please refer to the Tixi and Tigl documentation for installation guides.
Hint
PyTornado has its own native JSON file format. To get started it is not necessary to install Tixi and Tigl.