a/trunk/cforge/cforge/Package/CFORGE/Scripts/install.py | b/trunk/cforge/cforge/Package/CFORGE/Scripts/install.py | ||
---|---|---|---|
... |
... |
||
3 | import os |
3 | import os |
4 | 4 | ||
5 | from System.Diagnostics import Process |
5 | from System.Diagnostics import Process |
6 | from System.Net import WebClient |
6 | from System.Net import WebClient |
7 | 7 | ||
8 | |||
9 | |||
10 | |||
11 | # This is a cforge command (script file) |
8 | # This is a cforge command (script file) |
12 | # this will be run as ironpython script. |
9 | # pass a "url" or local path to a CODESYS package and this script will install it |
13 | # the filename of this script is automatically the corresponding cforge command |
10 | # via the CODESYS package manager to your CODESYS installation |
14 | # with some magic functions you can easily integrate it nicely into cforge tool |
11 | # |
12 | |||
13 | |||
15 | 14 | ||
16 | # cforge_usage: |
15 | # cforge_usage: |
17 | # here you can return an array of all possible arguments and options that can |
16 | # here you can return an array of all possible arguments and options that can |
18 | # be passed to this command script |
17 | # be passed to this command script |
19 | def cforge_usage(): |
18 | def cforge_usage(): |