Merge pull request #433 from python-escpos/drop-py35

drop support for python 3.5
This commit is contained in:
Patrick Kanzler 2020-11-08 23:55:52 +01:00 committed by GitHub
commit 620cf97bbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9] python-version: [3.6, 3.7, 3.8, 3.9]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@ -18,10 +18,10 @@ classifiers =
Operating System :: OS Independent Operating System :: OS Independent
Programming Language :: Python Programming Language :: Python
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: CPython
Topic :: Software Development :: Libraries :: Python Modules Topic :: Software Development :: Libraries :: Python Modules
Topic :: Office/Business :: Financial :: Point-Of-Sale Topic :: Office/Business :: Financial :: Point-Of-Sale
@ -31,7 +31,7 @@ project_urls =
Release Notes = https://github.com/python-escpos/python-escpos/releases Release Notes = https://github.com/python-escpos/python-escpos/releases
[options] [options]
python_requires = >=3.5 python_requires = >=3.6
zip_safe = false zip_safe = false
include_package_data = true include_package_data = true
install_requires = install_requires =

View File

@ -99,7 +99,7 @@ class BaseProfile(object):
return {v: k for k, v in self.codePages.items()} return {v: k for k, v in self.codePages.items()}
def get_profile(name:str=None, **kwargs): def get_profile(name: str=None, **kwargs):
"""Get the profile by name; if no name is given, return the """Get the profile by name; if no name is given, return the
default profile. default profile.
""" """