Skip to content

More templates

Latest
Compare
Choose a tag to compare
@babab babab released this 27 Mar 21:28

The pycommand init script is removed and is included in the pycommand package itself.
To auto generate scripts from templates, from now on use:

python -m pycommand init

Added

  • Full templates can now (also) be auto generated
  • CI testing for Python 3.5 and 3.6

Changed

  • The code is split up into several modules and pycommand is now
    distributed as a package rather than a single module. The public
    API does not change however, all relevant members (CommandBase,
    run_and_exit) that are now placed in pycommand.pycommand are
    exposed through __init__ and therefore are still available as
    pycommand.CommandBase and pycommand.run_and_exit.
  • Code generator is included in the package itself instead of
    using an installed script (pycommand init)
  • All templates are now included as well

Removed

  • Pycommand init script (installed into /usr/local/bin)
  • Templates directory
  • GNU info docs and manpage from distribution (they can still be generated)
    • pycommand.3 (prev. installed into /share/man/man3)
    • pycommand.info