openmicroscopy/snoopycrimecop — pull request #102 by sbesson (2013-09-29 19:30:03+00:00)
Title: 95 packaging

This PR restructures `scc` into a proper Python package moving all scc content under the root `scc/` folder. The content of the former `scc.py` is split into several files:
1. `main.py` and `framework.py` contain general framework class definitions similar to changes performed in ome/omero-setup
1. `deploy.py` contains all the logic required to use `scc deploy`
1. `version.py` contains the version logic, i.e. `scc version`
1. `git.py` contains all the code related to interacting with Git/GitHub repositories

Additionally, this PR
- refactors the `setup.py` file to install the scc as a package and test `python setup.py sdist install` as part of the Travis build)
- fixes the unknown `scc version` issue by writing/opening the `RELEASE-VERSION` file under `scc/` and installing it with `install_package_data=True`
- fixes all unit/integration tests to match the new structure