Directory Layout

pyhwp                   Project Root
  |
  +-- pyhwp/            Source packages root
  |     |
  |     +-- hwp5/       Source package
  |
  +-- pyhwp-tests/      Test packages root
  |     |
  |     +-- hwp5_tests/ Test package
  |
  +-- docs/             Documentations, i.e. this document!
  |
  +-- bin/              hwp5proc, hwp5odt, build/testing scripts, etc.,
  |
  +-- etc/              development configuration files
  |
  +-- misc/             development configuration templates / helper scripts
  |
  +-- tools/            development helper packages
  |
  .
  . (various directories)
  .

After the initial invocation of buildout completes successfully, your directory will have a few more new generated directories, e.g. bin/, develop-eggs/. These are the standard buildout directories, which we will not cover the every details of them here. For general information, see Directory Structure of a Buildout.

Followings are pyhwp specific informations:

/ - project root directory

The project root directory contains project configuration files.

buildout.cfg
buildout configuration file.
setup.py, setup.cfg
pyhwp setup files.
tox.ini
tox configuration file. This file will be automatically generated from tox.ini.in by bin/buildout. See [tox] parts in buildout.cfg.
tox.ini.in
tox configuration template file. If you want to modify tox configuration, edit this file and run bin/buildout again.

bin/ - Buildout generated scripts

This directory will be populated with scripts generated from the pyhwp package and the various development helper packages/scripts.

pyhwp generate following scripts:

hwp5proc
HWP format version 5 files processor. See hwp5proc: HWPv5 처리기.
hwp5odt, hwp5txt, hwp5html
Experimental converters. See 변환기들 (실험적).

Development helper scripts (incomplete):

buildout
(Re)generate the development environment.
test-core
Run a quick unit test.

pyhwp/ - the main source code

hwp5/
The main source package. For now, there is not much documentation about the source code.

pyhwp-tests/ - the main test suite

hwp5_tests/
The main test suite.
hwp5_xsl_tests/
XSLT test suite.
hwp5_cli_tests.sh
Command-line interface tests.

tools/ - Development helper packages

discover.python/ discover.lxml/ discover.jre/ discover.lo/ install.jython/

Discover multiple python versions, lxml, JRE, Libreoffice to use in the developement environment. Provides zc.buildout recipes.

xsltest/

an XSLT test runner.

oxt.tool/

Build and test .oxt packages with the LibreOffice.