File: Install.sh

package info (click to toggle)
syrthes 4.3.0-dfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 84,148 kB
  • sloc: ansic: 49,309; python: 25,790; makefile: 265; sh: 215; xml: 153
file content (93 lines) | stat: -rwxr-xr-x 4,698 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Modification 17/12/2014 : prise en compte de la version, commande pour generer avec cxfreeze

# pyuic4 takes a Qt4 user interface description file and compiles it to Python code.
#

#
# generation des fichiers python
#

echo "Installation : generation of python files ..."

rm -rf install
mkdir install

cp *.py install/

pyuic4 Advanced_mode_form.ui -o install/ui_Advanced_mode_form.py -x
pyuic4 Boundary_conditions_cond_form.ui -o install/ui_Boundary_conditions_cond_form.py -x
pyuic4 Boundary_conditions_rad_form.ui -o install/ui_Boundary_conditions_rad_form.py -x
pyuic4 Boundary_conditions_TPv_form.ui -o install/ui_Boundary_conditions_TPv_form.py -x
pyuic4 Boundary_conditions_TPvPt_form.ui -o install/ui_Boundary_conditions_TPvPt_form.py -x
pyuic4 Calculation_progress.ui -o install/ui_Calculation_progress.py -x
pyuic4 Conjugate_heat_transfer_form.ui -o install/ui_Conjugate_heat_transfer_form.py -x
pyuic4 Control_form.ui -o install/ui_Control_form.py -x
pyuic4 Fake_form.ui -o install/ui_Fake_form.py -x
pyuic4 Filename_form.ui -o install/ui_Filename_form.py -x
pyuic4 Home_form.ui -o install/ui_Home_form.py -x
pyuic4 Initial_conditions_cond_form.ui -o install/ui_Initial_conditions_cond_form.py -x
pyuic4 Initial_conditions_hum_TPv_form.ui -o install/ui_Initial_conditions_hum_TPv_form.py -x
pyuic4 Initial_conditions_hum_TPvPt_form.ui -o install/ui_Initial_conditions_hum_TPvPt_form.py -x
pyuic4 Material_humidity_properties_form.ui -o install/ui_Material_humidity_properties_form.py -x
pyuic4 Material_radiation_properties_form.ui -o install/ui_Material_radiation_properties_form.py -x
pyuic4 New_dialog.ui -o install/ui_New_dialog.py -x
pyuic4 Output_2D_form.ui -o install/ui_Output_2D_form.py -x
pyuic4 Output_3D_form.ui -o install/ui_Output_3D_form.py -x
pyuic4 Periodicity_2D_form.ui -o install/ui_Periodicity_2D_form.py -x
pyuic4 Periodicity_3D_form.ui -o install/ui_Periodicity_3D_form.py -x
pyuic4 Physical_prop_2D_form.ui -o install/ui_Physical_prop_2D_form.py -x
pyuic4 Physical_prop_3D_form.ui -o install/ui_Physical_prop_3D_form.py -x
pyuic4 Running_options_form.ui -o install/ui_Running_options_form.py -x
pyuic4 Solar_aspect_form.ui -o install/ui_Solar_aspect_form.py -x
pyuic4 Spectral_parameters_form.ui -o install/ui_Spectral_parameters_form.py -x
pyuic4 SyrthesMainwin80060023.ui -o install/ui_SyrthesMainwin80060023.py -x
pyuic4 User_C_function_form.ui -o install/ui_User_C_function_form.py -x
pyuic4 View_factor_2D_form.ui -o install/ui_View_factor_2D_form.py -x
pyuic4 View_factor_3D_form.ui -o install/ui_View_factor_3D_form.py -x
pyuic4 Volumetric_conditions_cond_form.ui -o install/ui_Volumetric_conditions_cond_form.py -x
pyuic4 Volumetric_conditions_hum_TPv_form.ui -o install/ui_Volumetric_conditions_hum_TPv_form.py -x
pyuic4 Volumetric_conditions_hum_TPvPt_form.ui -o install/ui_Volumetric_conditions_hum_TPvPt_form.py -x

pyuic4 Boundary_conditions_fluid1d_3D_form.ui  -o  install/ui_Boundary_conditions_fluid1d_3D_form.py -x
pyuic4 Control_fluid1d_form.ui   -o  install/ui_Control_fluid1d_form.py -x
pyuic4 Geometrie_fluid1d_form.ui  -o  install/ui_Geometrie_fluid1d_form.py -x
pyuic4 Initial_conditions_fluid1d_form.ui  -o  install/ui_Initial_conditions_fluid1d_form.py -x
pyuic4 Physical_prop_fluid1d_form.ui  -o  install/ui_Physical_prop_fluid1d_form.py -x
pyuic4 Volumetric_conditions_fluid1d_form.ui  -o  install/ui_Volumetric_conditions_fluid1d_form.py -x

pyuic4 Material_humidity_properties_2D_form.ui -o install/ui_Material_humidity_properties_2D_form.py -x
pyuic4 Material_humidity_properties_3D_form.ui -o install/ui_Material_humidity_properties_3D_form.py -x

pyuic4 Contact_resistance_humidity_TPv_form.ui  -o install/ui_Contact_resistance_humidity_TPv_form.py -x
pyuic4 Contact_resistance_humidity_TPvPt_form.ui -o install/ui_Contact_resistance_humidity_TPvPt_form.py -x

pyuic4 Output_Times_form.ui -o install/ui_Output_Times_form.py -x
pyuic4 Physical_properties_fluid0d_form.ui -o install/ui_Physical_properties_fluid0d_form.py -x
pyuic4 Boundary_conditions_fluid0d_form.ui -o install/ui_Boundary_conditions_fluid0d_form.py -x
pyuic4 Geometrie_fluid0d_form.ui  -o  install/ui_Geometrie_fluid0d_form.py -x
pyuic4 Volumetric_conditions_fluid0d_form.ui  -o  install/ui_Volumetric_conditions_fluid0d_form.py -x

pyrcc4 resource.qrc -o install/resource_rc.py

cp -rf 22x22 install/
cp -rf ficwhatsthis install/  

# Prise en compte de la version dans le fichier version_syrthes
python version_syrthes/changer_version.py

#
# cxfreeze
#

exit 0

echo
echo "Press Enter for the generation with cxfreeze"
read x

echo "Installation : generation with cxfreeze ..."
cd install; python setup_cxfl.py build
echo
echo "Press Enter to exit"
read x