mirror of
https://github.com/ankitects/anki.git
synced 2026-01-10 12:33:55 -05:00
12 lines
359 B
Python
12 lines
359 B
Python
# Copyright: Ankitects Pty Ltd and contributors
|
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
import os
|
|
import sysconfig
|
|
|
|
cfg = sysconfig.get_config_var
|
|
base = cfg("installed_base") or cfg("installed_platbase")
|
|
version = cfg("py_version_nodot")
|
|
lib = "python" + version + ".dll"
|
|
print(version)
|
|
print(os.path.join(base, lib))
|