Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
674 changes: 0 additions & 674 deletions COPYING

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2012-2017 python-escpos and Manuel F Martinez

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include *.rst
include *.txt
include COPYING
include LICENSE
include INSTALL
include tox.ini
include capabilities-data/dist/capabilities.json
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def run_tests(self):
download_url='https://github.com/python-escpos/python-escpos/archive/master.zip',
description='Python library to manipulate ESC/POS Printers',
bugtrack_url='https://github.com/python-escpos/python-escpos/issues',
license='GNU GPL v3',
license='MIT',
long_description=read('README.rst'),
author='Manuel F Martinez and others',
author_email='manpaz@bashlinux.com',
Expand All @@ -91,7 +91,7 @@ def run_tests(self):
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
Expand Down
4 changes: 2 additions & 2 deletions src/escpos/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

:author: `Manuel F Martinez <manpaz@bashlinux.com>`_ and others
:organization: Bashlinux and `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2012 Bashlinux
:license: GNU GPL v3
:copyright: Copyright (c) 2012-2017 Bashlinux and python-escpos
:license: MIT
"""

from __future__ import absolute_import
Expand Down
4 changes: 2 additions & 2 deletions src/escpos/escpos.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

:author: `Manuel F Martinez <manpaz@bashlinux.com>`_ and others
:organization: Bashlinux and `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2012 Bashlinux
:license: GNU GPL v3
:copyright: Copyright (c) 2012-2017 Bashlinux and python-escpos
:license: MIT
"""

from __future__ import absolute_import
Expand Down
4 changes: 2 additions & 2 deletions src/escpos/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

:author: `Manuel F Martinez <manpaz@bashlinux.com>`_ and others
:organization: Bashlinux and `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2012 Bashlinux
:license: GNU GPL v3
:copyright: Copyright (c) 2012-2017 Bashlinux and python-escpos
:license: MIT
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion src/escpos/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:author: `Michael Billington <michael.billington@gmail.com>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 Michael Billington <michael.billington@gmail.com>
:license: GNU GPL v3
:license: MIT
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion src/escpos/magicencode.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
:author: `Patrick Kanzler <dev@pkanzler.de>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 Patrick Kanzler and Frédéric van der Essen
:license: GNU GPL v3
:license: MIT
"""

from __future__ import absolute_import
Expand Down
4 changes: 2 additions & 2 deletions src/escpos/printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

:author: `Manuel F Martinez <manpaz@bashlinux.com>`_ and others
:organization: Bashlinux and `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2012 Bashlinux
:license: GNU GPL v3
:copyright: Copyright (c) 2012-2017 Bashlinux and python-escpos
:license: MIT
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion test/test_abstract_base_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:author: `Patrick Kanzler <patrick.kanzler@fablab.fau.de>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 Patrick Kanzler
:license: GNU GPL v3
:license: MIT
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion test/test_function_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:author: `Michael Billington <michael.billington@gmail.com>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 `Michael Billington <michael.billington@gmail.com>`_
:license: GNU GPL v3
:license: MIT
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion test/test_function_panel_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:author: `Patrick Kanzler <patrick.kanzler@fablab.fau.de>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 `python-escpos <https://github.com/python-escpos>`_
:license: GNU GPL v3
:license: MIT
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion test/test_function_qr_native.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:author: `Michael Billington <michael.billington@gmail.com>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 `Michael Billington <michael.billington@gmail.com>`_
:license: GNU GPL v3
:license: MIT
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion test/test_function_qr_non-native.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:author: `Patrick Kanzler <patrick.kanzler@fablab.fau.de>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 `python-escpos <https://github.com/python-escpos>`_
:license: GNU GPL v3
:license: MIT
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion test/test_function_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:author: `Patrick Kanzler <patrick.kanzler@fablab.fau.de>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 `python-escpos <https://github.com/python-escpos>`_
:license: GNU GPL v3
:license: MIT
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion test/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:author: `Michael Billington <michael.billington@gmail.com>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 `Michael Billington <michael.billington@gmail.com>`_
:license: GNU GPL v3
:license: MIT
"""

from escpos.image import EscposImage
Expand Down
2 changes: 1 addition & 1 deletion test/test_load_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:author: `Patrick Kanzler <patrick.kanzler@fablab.fau.de>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 `python-escpos <https://github.com/python-escpos>`_
:license: GNU GPL v3
:license: MIT
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion test/test_magicencode.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:author: `Patrick Kanzler <patrick.kanzler@fablab.fau.de>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 `python-escpos <https://github.com/python-escpos>`_
:license: GNU GPL v3
:license: MIT
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion test/test_printer_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:author: `Patrick Kanzler <patrick.kanzler@fablab.fau.de>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 `python-escpos <https://github.com/python-escpos>`_
:license: GNU GPL v3
:license: MIT
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion test/test_with_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:author: `Patrick Kanzler <patrick.kanzler@fablab.fau.de>`_
:organization: `python-escpos <https://github.com/python-escpos>`_
:copyright: Copyright (c) 2016 `python-escpos <https://github.com/python-escpos>`_
:license: GNU GPL v3
:license: MIT
"""

from __future__ import absolute_import
Expand Down