openwsn-berkeley/openwsn-sw — pull request #53 by kb2ma (2013-11-16 12:34:13+00:00)
Title: SW-98. Add support for setup.py installation of OpenVisualizer.

Includes two flavors of setup:
* Tree-based, where data is stored as package data in openvisualizer/data.
On Windows, installs to C:\Python27 at the root of the tree.
* Native, where data is stored in OS-specific locations (Linux only)

Also maintains support for running the application directly from a repository
checkout via SCons or double-click in a file manager.

Detailed changes:
* Created treeSetup.py and nativeSetup.py.
* Created ovVersion.py with version number, and MANIFEST.tree for tree
build.
* Added appdirs.py for native directories for external files.
* Dynamically determine the type of install at runtime – SCons, double-click,
tree, or native.
* Moved top-level packages to openvisualizer package
* Added openvisualizer.conf. Presently only a place-holder to help determine
the type of install.
* Fixed SW-79 – converted doxygen comments to Sphinx format.
* Added abbreviated copyright notice to all files
* Use logging.NullHandler implementation; requires Python 2.7.
* Moved openUI package to an openvisualizer sub-package
* Created SConscript in bin/openVisualizerApp directory for running UI, to
reduce clutter in main SConstruct.
* Added sdist and sdist-native targets for SCons.
* Add 'build' directory to repository so it is not created by root when run
UI. Conflict for example when build docs as regular user.
* Rename build sub-directory when run UI from SCons to 'runui'. Clearer.
* Added --ovDebug for SCons UI runner, and --debug directly from UI. Provides
more logging at startup.
* Normalize line endings to LF, and added .gitattributes. Was unable to run
app under Linux directly, like 'openVisualizerWeb.py'. The new solution is
idiomatic, per https://help.github.com/articles/dealing-with-line-endings.
* pathHelper.py pared down.
* Added bin/openVisualizeApp/sim_files for simulation. Added copy-simfw
target in SCons. Removed fwdir parameter and variable from
openVisualizerApp.py.
* Added README.txt