remove obsolete heatshrink dependency, as we're all using Python 3 now
This commit is contained in:
@@ -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
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user