Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install ohconvert

How to install ohconvert

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install ohconvert
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.0 Available View build log
1.0a1 Available View build log
Windows (64-bit)
1.0 Available View build log
1.0a1 Available View build log
Mac OS X (10.5+)
1.0 Available View build log
1.0a1 Available View build log
Linux (32-bit)
1.0 Available View build log
1.0a1 Available View build log
Linux (64-bit)
1.0 Available View build log
1.0a1 Available View build log
 
License
BSD
Dependencies
Imports
Lastest release
version 1.0 on Mar 21st, 2011

Overview

ohconvert integrates ohcount into Jenkins.

This script invokes ohcount, parses its output and converts it into the format understood by the SLOCCountPlugin for Jenkins. This is equivalent to calling sloccount with the options:

sloccount --duplicates --wide --details path ...
Prerequisites

You need to have ohcount 3.0.0 or later installed and it needs to be directly executable from the path. You can check by calling ohcount --help. ohcount can be built manually or is available from some system package management tools. For example it's available as ohcount in the latest macports.

Usage

You can call the script via:

ohconvert path ...

Output Jenkins SLOCCountPlugin compatible data collected with ohcount.

Options:

  • -h, --help show this help message and exit
  • -o sloccount.sc, --output=sloccount.sc Output filename (instead of stdout)
Development

The source code can be found at: https://github.com/hannosch/ohconvert

Changelog

1.0 - 2011-03-20
  • Fixed reStructuredText and updated code location. [hannosch]
1.0b1 - 2011-03-20

UPGRADE NOTE: ohconvert now outputs to stdout by default.

  • Refer to Jenkins instead of Hudson. [hannosch]
  • A fix for handling empty files turned into a complete refactoring. [lrowe]
1.0a1 - 2010-03-14
  • Initial functional release. [hannosch]

Subscribe to package updates

Last updated Mar 21st, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.