Revision f430f2858ae9f161a189d09273ada754a370d886 authored by Josh Siegle on 14 May 2020, 17:24:40 UTC, committed by Josh Siegle on 14 May 2020, 17:24:40 UTC
1 parent 9d126ca
__init__.py
# -*- coding: utf-8 -*-
import os
import sys
def entrypoint_exists(entry_point):
if sys.platform == "win32":
entry_point += ".exe"
executable_dir = os.path.dirname(sys.executable)
return os.path.exists(os.path.join(executable_dir, entry_point))
Computing file changes ...