From 39867afac03be372f60d3818201c42938067e5fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=AB=8B=E5=86=9B?= Date: Fri, 26 Mar 2021 14:32:54 +0800 Subject: [PATCH] release v2.3 --- CHANGELOG.md | 9 +++++++++ setup.py | 7 ++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d4e386..0ff9646 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# 2021.3.26 + +- release **v2.3** +- fix `is_in_position()` +- refactor process method +- some methods can be chained +- add new methods to control pump +- change `set_led_color(rgb:str)` -> `set_color(r:int, g:int, b:in)` + # 2021.3.12 added more test file. diff --git a/setup.py b/setup.py index 81d1cc0..23468df 100755 --- a/setup.py +++ b/setup.py @@ -1,16 +1,14 @@ import sys +VERSION = "2.3" PYTHON_VERSION = sys.version_info[:2] -VERSION = "2.2.1" - if (2, 7) != PYTHON_VERSION < (3, 5): print("This mycobot version requires Python2.7, 3.5 or later.") sys.exit(1) import setuptools - if PYTHON_VERSION == (2, 7): long_description = "" else: @@ -37,6 +35,5 @@ "Operating System :: OS Independent", ], install_requires=['pyserial'], - python_requires= '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*', + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*', ) -