[csw-devel] SF.net SVN: opencsw:[558] utilities/pkgutil-deptree-to-dot.py

Maciej (Matchek) Bliziński maciej at opencsw.org
Wed Sep 28 13:57:07 CEST 2011


2011/9/26  <skayser at users.sourceforge.net>:
> Revision: 558
>          http://opencsw.svn.sourceforge.net/opencsw/?rev=558&view=rev
> Author:   skayser
> Date:     2011-09-26 15:50:56 +0000 (Mon, 26 Sep 2011)
> Log Message:
> -----------
> utilities: add pkgutil deptree to graphviz converter
>
> Added Paths:
> -----------
>    utilities/pkgutil-deptree-to-dot.py

In most cases, you want to write unit tests for your programs.  To
test classes, you need to import them. You cannot import a file with
dashes init.  Therefore, you always need to create *.py files with
underscores.  If you want to call the file using a name with dashes,
make a symlink.  You can see csw-upload-pkg for an example.


More information about the devel mailing list