Commit 2f8b67e7 by Sébastien Eustace Committed by GitHub

Update the installer script to handle future releases (#2233)

parent 1d413c0d
...@@ -204,8 +204,12 @@ import sys ...@@ -204,8 +204,12 @@ import sys
import os import os
lib = os.path.normpath(os.path.join(os.path.realpath(__file__), "../..", "lib")) lib = os.path.normpath(os.path.join(os.path.realpath(__file__), "../..", "lib"))
vendors = os.path.join(lib, "poetry", "_vendor")
current_vendors = os.path.join(
vendors, "py{}".format(".".join(str(v) for v in sys.version_info[:2]))
)
sys.path.insert(0, lib) sys.path.insert(0, lib)
sys.path.insert(0, current_vendors)
if __name__ == "__main__": if __name__ == "__main__":
from poetry.console import main from poetry.console import main
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment