1
0
Fork 0
flightgear/scripts/python
Florent Rougon c72de824d2 terrasync.py: more modular code layout
- New directory scripts/python/TerraSync/terrasync.

- Move scripts/python/terrasync.py to
  scripts/python/TerraSync/terrasync/main.py (main module in the new
  structure).

- Add empty __init__.py file to scripts/python/TerraSync/terrasync/ to
  make this directory a Python package.

- Wrap the main code from previous terrasync.py in a main() function of
  the terrasync.main module. Also move command-line arguments parsing to
  a separate parseCommandLine() function.

- Add an executable script scripts/python/TerraSync/terrasync.py for end
  users, that just calls terrasync.main.main().

For end users, the only difference is that they now have to use
scripts/python/TerraSync/terrasync.py instead of
scripts/python/terrasync.py (which doesn't exist anymore, since all this
lives under the scripts/python/TerraSync directory from now on).

This structure will allow to cleanly split the code into modules and to
add unit tests.
2018-02-07 11:38:41 +01:00
..
TerraSync terrasync.py: more modular code layout 2018-02-07 11:38:41 +01:00
demo.py George PATTERSON: 2006-10-29 12:34:26 +00:00
FGFSDemo.py Fixed a bug in FlightGear.py. Splitting name,value,type using whitespace 2002-07-22 23:25:28 +00:00
FlightGear.py George PATTERSON: 2006-10-29 12:34:26 +00:00
nasal_api_doc.py Ignore empty lines in html output. 2012-03-25 10:34:50 +02:00