diff --git a/Makefile b/Makefile index 1b2beff..d60cce4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: check install +.PHONY: check install dist upload check: @mypy . || true @@ -7,3 +7,9 @@ check: install: pip install --user -e . + +dist: + python3 -m build + +upload: dist + python3 -m twine upload dist/* diff --git a/megacom/__init__.py b/megacom/__init__.py index f48a476..8835899 100644 --- a/megacom/__init__.py +++ b/megacom/__init__.py @@ -12,8 +12,7 @@ import threading import tty import queue from types import TracebackType -from typing import Any, BinaryIO, Iterable, List, Optional, Tuple, Type -from typing_extensions import Literal +from typing import Any, BinaryIO, Iterable, List, Literal, Optional, Tuple, Type import serial import serial_asyncio diff --git a/setup.py b/setup.py index e39089e..750379f 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as f: setup( name='megacom', - version='0.1.1', + version='0.1.2', description='Alternative console-based UART client', long_description=long_description, long_description_content_type='text/markdown', @@ -18,7 +18,7 @@ setup( "pyserial", "pyserial-asyncio" ], - python_requires=">=3.8", + python_requires=">=3.9", classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: GNU Affero General Public License v3",