67 Commits

Author SHA1 Message Date
Patrick Kanzler
33636af2cf
Merge branch 'development' into python-barcode 2020-05-08 22:41:02 +02:00
Alexander Bougakov
e350a49cad
Clarify the positions of vendor_id and product_id
An existing example uses same value, `0x1a2b`  in both `Vendor id` and `Product id` fields, which can confuse a new user.
2020-03-22 13:36:49 +03:00
Romain Porte
599bd6c9e4
barcodes: replace viivakoodi with python-barcode
python-barcode is yet another clone of the PyPI barcode library, but
which is still developped compared to viivakoodi.

The author provides Python 3.7 support in the last release, which is a
nice to have.  However, since this dependency requires at least Python
3.5, we have to align our minimum supported version to 3.5 too, and drop
near EOL Python 2.7 support.

Signed-off-by: Romain Porte <microjoe@microjoe.org>
2019-10-07 19:16:20 +02:00
Romain Porte
4955fe3264
drop Python 2.7 support
Python 2.7 EOL is arriving on 2020-01-01: https://pythonclock.org/

This will allow us to use Python 3 only libraries, like python-barcode,
which can maintain a reduced, simpler codebase, due to only one version
to support.

Signed-off-by: Romain Porte <microjoe@microjoe.org>
2019-10-07 19:15:28 +02:00
Patrick Kanzler
fa140c2df5 cleanup todo page 2019-06-19 15:50:19 +02:00
Patrick Kanzler
29a546821b doc add example for Serial on Windows
fixes #322
2019-06-10 22:05:26 +02:00
Patrick Kanzler
1439b14686
tell sort to ignore case 2017-08-31 13:43:07 +02:00
Patrick Kanzler
c259263f26 blacklist pytest 3.2.0 because it breaks our tests
see pytest-dev/pytest#2644 for reference
2017-08-04 15:17:05 +02:00
Patrick Kanzler
c3e952befa
cat authorsfiles during check 2017-06-19 11:15:04 +00:00
Patrick Kanzler
4882c31531 Clarifiy and update usage.rst
relevant to #230
clarifies the config-file  in the usage.rst
2017-06-10 23:35:26 +00:00
Patrick Kanzler
7c17141fb2
integrate author check into travis 2017-05-26 02:36:16 +02:00
Patrick Kanzler
0f33d68f3a
add doc for ESCPOS_CAPABILITIES_FILE 2017-03-27 15:30:14 +02:00
Patrick Kanzler
d3f76a5f6d
doc update modules in autogeneration 2017-01-29 22:33:15 +01:00
Patrick Kanzler
e595bc2150
doc update methods and printers and use autodoc 2017-01-26 00:28:33 +01:00
Patrick Kanzler
a15d02b50c change dependency to docutils to newer version of sphinx
This is a revert to f8b7238801c82f7858c64a60162cbe36aa8fe332
2017-01-06 18:05:59 +01:00
Asuki Kono
938f9890ab Update doc about installation for raspi (#194)
* Update dec about installation for raspi

* Rollback syntax about warning on raspi doc

* Add a link of installation-manual on raspi doc

* Update last reviewed date for raspi doc
2017-01-05 21:51:07 +01:00
Patrick Kanzler
1e5a41ba4e Merge pull request #193 from python-escpos/fix-docutils-problem
downgrade docutils
2016-12-09 21:33:32 +01:00
Patrick Kanzler
f8b7238801
downgrade docutils
version 0.13 of docutils seems to have problems. See
sphinx-doc/sphinx#3212
2016-12-09 21:24:57 +01:00
Thijs Triemstra
24731f433e fix typos 2016-12-09 16:56:23 +01:00
Thijs Triemstra
6158ba344f fix typos 2016-12-09 16:42:23 +01:00
Patrick Kanzler
bd57c01794
update doc-page on Raspi 2016-12-07 20:31:49 +01:00
ysuolmai
da0d49c787 Update raspi.rst 2016-11-25 21:44:47 +11:00
Michael Billington
2c8bc1180d Merge branch 'text-encoding' of https://github.com/miracle2k/python-escpos into miracle2k-text-encoding 2016-09-11 14:19:34 +10:00
Curtis // mashedkeyboard
f5c706db34 Extended underline to fit the wording of the new subtitle 2016-09-01 12:10:35 +01:00
Curtis // mashedkeyboard
b29ef6df69 Corrected set() command documentation
The documentation currently says that `printer.set(type="B")` is the way to bold text. It won't work - you need to use `printer.set(text_type="B")`.
2016-09-01 11:57:58 +01:00
Michael Elsdörfer
f6ce7e45da Merge branch 'capabilities' into text-encoding 2016-08-26 15:29:31 +02:00
Patrick Kanzler
340a47d2f6 Merge pull request #152 from python-escpos/fix/large-image-printing
Fix/large image printing
2016-08-07 12:22:25 +02:00
Patrick Kanzler
38f9835931
fix printing of CODE128
The control sequence {A or {B or {C can't be part of the qr code.
For this the user has to supply this sequence.
2016-08-02 15:39:31 +02:00
Patrick Kanzler
13937ab0da doc update documentation regarding codepages 2016-08-02 04:42:21 +02:00
Patrick Kanzler
7c732ee615
doc fix lists 2016-08-02 04:38:04 +02:00
Patrick Kanzler
10977b06e7
doc add hint on image preprocessing 2016-08-01 14:02:49 +02:00
Patrick Kanzler
fd3f1067fe
DOC update documentation on installation and CLI 2016-07-23 11:34:18 +02:00
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
Patrick Kanzler
57dd60c13f
doc: add troubleshooting hint to network-interface
closes #142
2016-07-15 13:18:33 +02:00
Patrick Kanzler
685a1f504c
DOC add image helper class 2016-06-23 15:38:55 +02:00
Patrick Kanzler
87438f9efa
SETUP move code to src
This way we can ensure that the packaged code is tested.
See https://hynek.me/articles/testing-packaging/ or c62a78c015

+ DOC adapt doc to new structure and test doc with travis
2016-06-20 17:48:14 +02:00
Patrick Kanzler
a0dc993f2f
DOC add example on printing commands from binary files 2016-05-01 15:27:15 +02:00
Patrick Kanzler
7547bfddd2
DOC fix underline length in doc 2016-04-02 15:27:47 +02:00
Davis Goglin
3ec00ae16e Remove unneeded requirements 2016-03-28 09:58:42 -07:00
Davis Goglin
2bb9756d28 Add documentation for config 2016-03-28 09:58:42 -07:00
Davis Goglin
c26c875b61 Convert ini format to yaml format. 2016-03-28 09:58:42 -07:00
Davis Goglin
39e912bef4 I guess localconfig needs future 2016-03-28 09:58:42 -07:00
Davis Goglin
4548dd3830 Required for tests to pass 2016-03-28 09:58:42 -07:00
Davis Goglin
ef31e58d26 Add base config documentation 2016-03-28 09:58:42 -07:00
Davis Goglin
73be1f2c48 Remove future from doc requirements. Doesn't need to be there 2016-03-28 09:58:42 -07:00
Davis Goglin
6096c15b80 Add future requirement to be able to use configparser 2016-03-28 09:58:42 -07:00
Patrick Kanzler
64e63b0180 PCKG automatically generate version from git-tags
* uses setuptools_scm
2016-03-11 14:46:36 +01:00
Patrick Kanzler
e49c35abc1 PCKG fix setup.py and improve Manifest 2016-03-11 14:46:36 +01:00
Patrick Kanzler
f676782130 DOC add favicon 2016-03-11 14:46:36 +01:00
Patrick Kanzler
086b407b62 DOC use sphinx-rtd-theme even if built locally 2016-03-11 14:46:36 +01:00