python-escpos/src/escpos
Patrick Kanzler 9f5eed0020
add version-strings into the module
The version string is in the module as __version__ available.
In the doc the version will be automatically parsed. The version comes
from the installed module if on read the docs or directly from
setuptools_scm if you are working locally.
The CLI will issue the version string if you call it with the option
'version'. The CLI does not accept commands like '--version', since this
would not be conform with the rest of the interface (and argparse).

The configuration for loading the version-string is adapted from
pimutils/vdirsyncer. It autogenerates a version string setuptools_scm at
install-time and then adds it to the __version__ member in __init__.py

I adapted the GitHub-template with a fitting comment and bumped the
changelog.

closes #141
2016-07-17 19:39:42 +02:00
..
__init__.py add version-strings into the module 2016-07-17 19:39:42 +02:00
cli.py add version-strings into the module 2016-07-17 19:39:42 +02:00
config.py SETUP move code to src 2016-06-20 17:48:14 +02:00
constants.py SETUP move code to src 2016-06-20 17:48:14 +02:00
escpos.py SETUP move code to src 2016-06-20 17:48:14 +02:00
exceptions.py SETUP move code to src 2016-06-20 17:48:14 +02:00
image.py SETUP move code to src 2016-06-20 17:48:14 +02:00
printer.py SETUP move code to src 2016-06-20 17:48:14 +02:00