This library contains core modules, classes, and data types which are used by other parts of the PyFarm project. This package is contains:
- A configuration module for loading and merging configuration files from disk.
- Enumerations of basic system information such as interpreter information, Python types, operating systems and other basic information that can be shared across the project.
- Logger setup and handling
- Miscellaneous utilities
This library supports Python 2.6+ and 3.2+ in one code base. Python 2.5
and lower is not supported due to significant syntax, library and other
differences. This library must support the range of Python versions
that python.master
and pyfarm.agent
supports.
The documentation for this this library is hosted on Read The Docs. It's generated directly from this library using sphinx (setup may vary depending on platform):
virtualenv env . env/bin/activate pip install sphinx nose pip install -e . --egg make -C docs html
Tests are run on Travis for every commit. They can also be run locally too (setup may vary depending on platform):
virtualenv env . env/bin/activate pip install nose pip install -e . --egg nosetests tests/