Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
Check for 1.4.0 library
  • Loading branch information
sergey-dryabzhinsky authored Jan 22, 2025
1 parent e4287cb commit aab2fb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@
# It's bytes in PY3
VERSION_STR = VERSION_STR.decode()
print("Found libzstd version %r" % VERSION_STR)
if VERSION_STR>="1.3.0":
if VERSION_STR>="1.4.0":
SUP_EXTERNAL=True
ext_libraries=[]
else:
print("Need library verion >= 1.4.0")
VERSION = tuple(int(v) for v in VERSION_STR.split("."))
if "--libraries" not in sys.argv:
# Add something default
Expand Down

0 comments on commit aab2fb3

Please sign in to comment.