https://github.com/AllenInstitute/ecephys_spike_sorting
Tip revision: f21ecbacf999789d0afa17a44b8d6a492a66cf09 authored by Josh Siegle on 27 August 2019, 23:28:41 UTC
Change to version 0.2
Change to version 0.2
Tip revision: f21ecba
__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))