Skip to content

Commit

Permalink
build_taglib.py: make taglib build dir implementation-dependent
Browse files Browse the repository at this point in the history
  • Loading branch information
supermihi committed Mar 16, 2024
1 parent 22fde66 commit ac8817b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build_taglib.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
arch = "x64" if is_x64 else "x32"
system = platform.system()
python_version = platform.python_version()
python_implementation = sys.implementation.name
here = Path(__file__).resolve().parent

taglib_version = "2.0"
Expand All @@ -26,7 +27,7 @@
class Configuration:
def __init__(self):
self.build_path = here / "build"
self.tl_install_dir = self.build_path / "taglib" / f"{system}-{arch}-py{python_version}"
self.tl_install_dir = self.build_path / "taglib" / f"{system}-{arch}-{python_implementation}-{python_version}"
self.clean = False

@property
Expand Down

0 comments on commit ac8817b

Please sign in to comment.