Install
install_astra(dest_dir=None, name='Astra', verbose=False)
Installs Astra from Klaus Floettmann's DESY website for the detected platform.
Sets environmental variable ASTRA_BIN
Source code in astra/install.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
|
install_examples(location)
Install lume-astra examples on the informed location.
Parameters
location : str The folder in which to install the examples
Source code in astra/install.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
|
install_executable(url, dest, verbose=False)
Downloads a url into a destination and makes it executable. Will not overwrite.
Source code in astra/install.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
|
install_generator(dest_dir=None, name='generator', verbose=False)
Installs Astra's generator from Klaus Floettmann's DESY website for the detected platform.
Sets environmental variable GENERATOR_BIN
Source code in astra/install.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
|