Commit Graph

806 Commits

Author SHA1 Message Date
Patrick Kanzler d330dd80fd
Merge pull request #398 from python-escpos/390-add-spellcheck-to-sphinx
add sphinxcontrib-spelling
2020-05-12 18:29:48 +02:00
Patrick Kanzler 570661b3c8 install libenchant1c2a on travis 2020-05-12 18:17:22 +02:00
Patrick Kanzler aa7f2773eb install spelling on travis 2020-05-12 00:06:07 +02:00
Patrick Kanzler ff39908674
Merge branch 'master' into 390-add-spellcheck-to-sphinx 2020-05-11 23:45:34 +02:00
Patrick Kanzler d960eea4a8
Merge pull request #397 from python-escpos/use-pkg-resources-for-capabilities-access
use pkg_resources
2020-05-11 23:44:53 +02:00
Patrick Kanzler f7962576b4 fix tox config 2020-05-11 23:44:10 +02:00
Patrick Kanzler f4e214ad17 add spellchecker with first conf, fix some errors 2020-05-11 23:39:56 +02:00
Patrick Kanzler 9e406efc86 add sphinxcontrib-spelling 2020-05-11 23:22:40 +02:00
Patrick Kanzler b9e3827867 use pkg_resources
This change uses if no path for e capabilities-file is supplied a
temporary file created by pkg_resources, which should be more robust
than directly accessing the file. (This failed sometimes, for example
in zipped distributions or uncommon structures)
2020-05-11 22:54:22 +02:00
Patrick Kanzler cbe412cfdb fix gitignore for vscode 2020-05-11 01:15:41 +02:00
Patrick Kanzler 42554d836c
Merge pull request #395 from MicroJoe/python-barcode
replace viivakoodi with python-barcode, center soft barcodes by default
2020-05-10 18:42:04 +02:00
Romain Porte 8ca682e3ac soft_barcode: add new center=True option 2020-05-10 14:08:50 +02:00
Romain Porte ab30ef4a8c test_function_softbarcode: use pytest fixture 2020-05-10 14:05:33 +02:00
Romain Porte 725f1254aa examples: software_barcode: fix too long code39 for 5890 printer 2020-05-10 14:04:25 +02:00
Romain Porte 1e313cefc6 test_function_barcode.py: remove unused imports 2020-05-10 14:03:43 +02:00
Romain Porte b0ea9aec41 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.

Signed-off-by: Romain Porte <microjoe@microjoe.org>
2020-05-10 13:36:16 +02:00
Patrick Kanzler ab210b5996
Merge pull request #392 from MicroJoe/python3-only
drop Python 2.7 support
2020-05-10 13:10:04 +02:00
Patrick Kanzler f3e1db8da2
Merge branch 'master' into python3-only 2020-05-10 12:45:03 +02:00
Patrick Kanzler 1e7b43a92d
Merge pull request #394 from python-escpos/disable-codecov-status
disable codecov status
2020-05-10 12:44:50 +02:00
Patrick Kanzler 0e41709703 disable codecov status 2020-05-10 12:35:36 +02:00
Romain Porte cb30d7a881 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.

Closes #371.

Signed-off-by: Romain Porte <microjoe@microjoe.org>
2020-05-10 10:55:44 +02:00
Patrick Kanzler 142fc4af71 fix readthedocs badge 2020-05-09 03:05:58 +02:00
Patrick Kanzler 8f71372bb0 remove landscape io badge 2020-05-09 03:02:35 +02:00
Patrick Kanzler 81fb7caa07
Merge branch 'master' into development 2020-05-09 02:57:46 +02:00
Patrick Kanzler 6a60b6706e apply black to setup.py 2020-05-09 02:48:24 +02:00
Patrick Kanzler c14a414924 transition setup.py to setup.cfg 2020-05-09 02:45:34 +02:00
Patrick Kanzler faa9414da5 move marker down to other requires 2020-05-09 02:15:13 +02:00
Patrick Kanzler 2c4552a528 mark as requiring at least python 3.5 2020-05-09 02:14:23 +02:00
Patrick Kanzler c9953c2f56
Merge branch 'master' into development 2020-05-09 01:56:22 +02:00
Patrick Kanzler 557991d80b
Merge pull request #388 from python-escpos/development
v3.0a7
2020-05-09 01:45:25 +02:00
Patrick Kanzler fe08fc1469 drop pypy 2020-05-09 01:35:00 +02:00
Patrick Kanzler 6c27222aeb use bionic on travis 2020-05-09 01:30:38 +02:00
Patrick Kanzler 6731057456 checkout submodules on github 2020-05-09 01:25:28 +02:00
Patrick Kanzler f0b1a89c48 fix syntax 2020-05-09 01:19:32 +02:00
Patrick Kanzler fd7bd0710e set path to capabilities file 2020-05-09 01:11:38 +02:00
Patrick Kanzler 7ea58625e6 use tox plugin for github 2020-05-09 01:08:16 +02:00
Patrick Kanzler baffd98a22 use focal on travis 2020-05-09 01:05:35 +02:00
Patrick Kanzler ecbdd43dff install tox in github ci 2020-05-09 01:03:45 +02:00
Patrick Kanzler 5b6b96d2a0 update changelog 2020-05-09 00:58:54 +02:00
Patrick Kanzler 7aa20a60e3 update capabilities 2020-05-09 00:40:05 +02:00
Patrick Kanzler 95ec6d5c08 update hypothesis 2020-05-09 00:39:41 +02:00
Patrick Kanzler 18c3a5f298 add capabilities to manifest 2020-05-09 00:37:35 +02:00
Patrick Kanzler 4836dcd486 change pytest call in tox 2020-05-09 00:27:58 +02:00
Patrick Kanzler d9d400da6d ignore vscode settings 2020-05-09 00:07:35 +02:00
Patrick Kanzler fe2e1a6d28 add tox task for vscode 2020-05-09 00:07:02 +02:00
Patrick Kanzler c53575a155 update tox config 2020-05-09 00:02:28 +02:00
Patrick Kanzler cadf448c38 update travis 2020-05-08 23:53:35 +02:00
Patrick Kanzler 7c05404ac4 build docs with python 3 2020-05-08 23:51:06 +02:00
Patrick Kanzler e1e1ccb3f2 update trove identifiers 2020-05-08 23:50:28 +02:00
Patrick Kanzler 32c56e78ea simplify branching model 2020-05-08 23:48:48 +02:00