Commit Graph

40 Commits

Author SHA1 Message Date
Patrick Kanzler 915adf8fd3
fix file-printer-tests by using pytest-mock 2016-09-27 20:05:16 +02:00
Michael Billington 7b68d97f5f test fixes - just case-changes to match code page names, seems to need 'future' pip module 2016-09-13 20:28:54 +10:00
Patrick Kanzler f467cacdd8
improve import capabilities from a submodule
The capabilities are now imported as a submodule from
mike42/escpos-printer-db
fixes #174
2016-09-02 17:13:38 +02:00
Michael Elsdörfer 4496ea91bd Make pytest the test runner. 2016-08-30 13:17:41 +02:00
Michael Elsdörfer ea7769f8b2 Merge remote-tracking branch 'origin/development' into capabilities 2016-08-30 13:04:17 +02:00
Michael Elsdörfer a07f84a5bc Match the current printer-db format. 2016-08-30 12:26:09 +02:00
Michael Elsdörfer 5c3d7dab72 Change setup.py shebang.
This supports using the current virtualenv.
2016-08-26 10:30:29 +02:00
Patrick Kanzler a2e188cecf move pypy3 to the allowed failures and add hypothesis
pypy3 is not compatible with hypothesis, which is needed for testing
2016-08-02 00:10:39 +02:00
Patrick Kanzler 80b714fdae
add basic argcomplete support 2016-07-23 10:39:40 +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 c13a0715e4
SETUP fix trove classififiers 2016-06-24 11:55:27 +02:00
Patrick Kanzler 5be81e4703
SETUP register cli entry point in setuptools 2016-06-23 16:53:58 +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 e8e91eba80
SETUP add pyusb>=1.0 as dependency
pyusb 1.0.0 is now released so it can now be regularely installed with pip
2016-06-20 16:29:55 +02:00
Patrick Kanzler 3e5509238e
DOC add trove classifier "Point-Of-Sale" 2016-06-20 16:20:47 +02:00
Patrick Kanzler 6697922b74 refactor PEP8 and code style 2016-06-19 12:30:57 +02:00
Patrick Kanzler b6ada13f9b PCKG updated package-configuration
* author/maintainer
* trove-classifiers
* keywords
* supported platforms and versions
2016-04-14 00:41:45 +02:00
Davis Goglin 76f300ea18 Fix text argument 2016-03-28 14:51:48 -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 1adc66992d Replace future and ConfigParser with localconfig 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 81b3c1a63a
DOC add bugtrack_url 2016-03-28 17:18:28 +02: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 5d5412ba73 REFACTOR use bytes in constants-section
adds six for cross-version int/byte-conversion
2016-03-08 20:07:16 +01:00
Patrick Kanzler d672ca1268
improve packaging and test environment 2016-02-11 18:37:13 +01:00
Patrick Kanzler 95f5b5ed48 Merge changes from 'master' into 'development'
(merges in the version bump)
2016-02-08 17:44:26 +01:00
Patrick Kanzler 331fe6a93a version bump to 1.0.9 2016-01-24 15:32:54 +01:00
Patrick Kanzler f25521f22f REFACTOR fix minor PEP8 and similar mistakes 2016-01-08 03:34:14 +01:00
Patrick Kanzler 020ba4145c DOC add python version information to setup 2016-01-07 23:22:31 +01:00
Patrick Kanzler 8b8ab80e5f ADD travis-configuration-file and comments in setup.py 2016-01-05 10:39:28 +01:00
Patrick Kanzler 029549aaae IMPROVE packaging and testing
* uses now tox (currently with no tests) on python 2.7 and 3.4
* upgraded setup.py to setuptools
2015-12-30 16:58:28 +01:00
Patrick Kanzler 8b5798eedf ADD requirements.txt and requirements to setup.py 2015-11-27 23:13:48 +01:00
Manuel F Martinez 7e3b6ce586 Updated README and documentation 2015-10-27 13:45:15 -07:00
Manuel F Martinez 37d7f34241 Updated project version 2015-08-22 13:10:13 -07:00
Manuel F Martinez e623799fd7 Updated setup URLs 2015-06-04 15:55:14 -07:00
Manuel F Martinez 122ff9a363 Updated version 2014-05-20 23:51:39 -07:00
Manuel F Martinez 2b37185003 Updated version 2014-05-20 22:16:44 -07:00
Manuel F Martinez 69cea54818 Added proper installer 2013-03-13 23:22:43 -07:00