Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-dryabzhinsky authored Jan 24, 2025
1 parent bdb43ee commit ea341a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@
if VERSION_STR:
if VERSION_STR>="1.4.0":
SUP_EXTERNAL=True
ext_libraries=[]
if "--libraries" not in sys.argv:
# Add something default
ext_libraries=["zstd"]
else:
raise RuntimeError("Need zstd library verion >= 1.4.0")
VERSION = tuple(int(v) for v in VERSION_STR.split("."))
Expand All @@ -121,9 +123,7 @@
# Require pkg config
raise RuntimeError("Need pkg-config to find system libzstd.")
print("\n Need pkg-config to find system libzstd. Or we try bundled one.")
if "--libraries" not in sys.argv:
# Add something default
ext_libraries=["zstd"]



# Package version, even external
Expand Down

0 comments on commit ea341a2

Please sign in to comment.