Commit Graph

356 Commits

Author SHA1 Message Date
davisgoglin 28b82fb54f Fix CODE39 barcodes. Assume Code128 are the same 2016-03-28 09:58:42 -07:00
davisgoglin ee223670bf Attempt to flush before quitting 2016-03-28 09:58:42 -07:00
davisgoglin a445c4205a Add cut after printing demos 2016-03-28 09:58:42 -07:00
davisgoglin 00ef7f129b Add raw option when using cli 2016-03-28 09:58:42 -07:00
Davis Goglin 8c186d912d Remove EAN8 code check digit 2016-03-28 09:58:42 -07:00
Davis Goglin 14ae1a7d89 Fix python3 barcode type b length encoding 2016-03-28 09:58:42 -07:00
Davis Goglin ca3b4665a2 pylint changes 2016-03-28 09:58:42 -07:00
Davis Goglin 4f92247ed6 Fix no help display in python3 2016-03-28 09:58:42 -07:00
Davis Goglin 5ba751d89b Stop checking for file to be python2/3 compatible 2016-03-28 09:58:42 -07:00
Davis Goglin 8e44c5126e Remove unsued variable 2016-03-28 09:58:42 -07:00
Davis Goglin 7a58109928 Clean up per landscape 2016-03-28 09:58:42 -07:00
Davis Goglin 9b40c0860f Change error to handle strings and files instead of list 2016-03-28 09:58:42 -07:00
Davis Goglin 3ec00ae16e Remove unneeded requirements 2016-03-28 09:58:42 -07:00
Davis Goglin 7afd5e75d4 Add docstrings 2016-03-28 09:58:42 -07:00
Davis Goglin 7d74dcac00 Add demo functions 2016-03-28 09:58:42 -07:00
Davis Goglin cdf8f6be09 Fix config loading 2016-03-28 09:58:42 -07:00
Davis Goglin d5e3d85c4b Add documentation for config 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 5dc676bea7 Convert to safe load. Also now allows loading everyting pyyaml supports 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 c7b36916e7 Avoid importing * 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 d5073626ae Update CLI to use config class 2016-03-28 09:58:42 -07:00
Davis Goglin 1a866f4d1f Add config parser exceptions 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 01328db808 Create config reader 2016-03-28 09:58:42 -07:00
Davis Goglin 1adc66992d Replace future and ConfigParser with localconfig 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 27352b071c Refactor empty exception handler 2016-03-28 09:58:42 -07:00
Davis Goglin 87a73beb31 Moved printer destination configuration to config file 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
Davis Goglin 133241e7e9 Moved printer choice to groups and parse manually 2016-03-28 09:58:42 -07:00
davisgoglin eea3e76eed Remove unused import 2016-03-28 09:58:42 -07:00
davisgoglin 28be6a2041 Add usage 2016-03-28 09:58:42 -07:00
davisgoglin d523b4d342 consistent syntax 2016-03-28 09:58:42 -07:00
davisgoglin 99291abd10 rewrite cli 2016-03-28 09:58:42 -07:00
Patrick Kanzler 81b3c1a63a
DOC add bugtrack_url 2016-03-28 17:18:28 +02:00
Patrick Kanzler 323b205f70 Merge pull request #116 from python-escpos/feature/test-versions
improve travis configuration with more versions
2016-03-26 12:15:57 +01:00
Michael Billington 2dc70677d7 improve travis configuration with more versions
Testing compatibility: add python 3.3, pypy, pypy3, 3.5-dev, 3.6-nightly to .travis.yml
allow failure on pypy3, 3.5-dev and nightly
2016-03-26 10:56:38 +01:00
Patrick Kanzler e355d2cbdf Merge pull request #115 from python-escpos/feature/coverage-analysis
ADD coverage analysis (branch coverage)
2016-03-25 20:53:11 +01:00
Patrick Kanzler 126e0e269a
ADD coverage analysis
* branch coverage
* visualization with codecov.io
* added codecov-badge to README
2016-03-22 12:07:21 +01:00
Patrick Kanzler 309866f8c9 Merge pull request #111 from mike42/feature/python3.5-support
Clean up non-float value, add v3.5 to tox test
2016-03-19 12:51:03 +01:00
Michael Billington 8596148271 update .travis.yml to use a matrix of versions in build 2016-03-19 22:14:37 +11:00
Michael Billington 8b454c4765 Clean up non-float value, add v3.5 to tox test 2016-03-17 21:59:47 +11:00
Patrick Kanzler f76db4e0d4
HOTFIX bracode: use proper NUL character instead of unicode-string 2016-03-16 23:23:42 +01:00
Patrick Kanzler e43e95bcff Merge pull request #102 from python-escpos/improve-packaging
Improve packaging
2016-03-12 10:47:10 +01:00
Patrick Kanzler b2ff39b6b1 DOC add templates for issues and pull-requests
These templates are inspired by OpenWhisperSystems
fixes #91
2016-03-11 14:46:36 +01: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