Building RCS

RCS uses standard packaging tools as much as possible. The current recommendation for Python appears to be wheel.

Packaging RCS Only

If addtional dependencies are not required a source distribution will likely be sufficient.

  1. Initialize the virtual environment scripts\activate
  2. Edit setup.py if version or packaged dependencies have changed
  3. Edit MANIFEST.in if any other dependencies (e.g. docs, static test files) have changed
  4. Execute python setup.py sdist --formats=bztar,zip
  5. A distributable source package should be available in the dist folder

Packaging RCS and Dependencies

If you want to prefetch and build all the dependencies (e.g. avoiding tedious downloads on a server) then execute pip wheel . -r requirements.txt. Output should be in ./wheelhouse as a set of .whl files. This directory can be used as the installation source for a server deployment.