remove obsolete heatshrink dependency, as we're all using Python 3 now

This commit is contained in:
2023-12-29 09:39:17 -08:00
parent 59096e4014
commit 3af09332fa
2 changed files with 2 additions and 5 deletions

View File

@@ -12,10 +12,7 @@ import serial
from binproto2.exceptions import (ConnectionLost, FatalError, PayloadOverflow, from binproto2.exceptions import (ConnectionLost, FatalError, PayloadOverflow,
ReadTimeout, SynchronizationError) ReadTimeout, SynchronizationError)
try: import heatshrink2 as heatshrink
import heatshrink
except ImportError:
import heatshrink2 as heatshrink
try: try:
from time import perf_counter from time import perf_counter

View File

@@ -13,7 +13,7 @@ setuptools.setup(
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
url="https://github.com/charleswillis3/marlin-binary-protocol", url="https://github.com/charleswillis3/marlin-binary-protocol",
packages=setuptools.find_packages(), packages=setuptools.find_packages(),
install_requires=["heatshrink>=0.3.2", "heatshrink2>=0.9", "pyserial>=3.4", "backports.time_perf_counter; python_version < '3.3'"], install_requires=["heatshrink2>=0.9", "pyserial>=3.4", "backports.time_perf_counter; python_version < '3.3'"],
classifiers=[ classifiers=[
"Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",