mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-12-27 15:38:07 +00:00
18 lines
414 B
Python
18 lines
414 B
Python
import os
|
|
|
|
|
|
# Functions
|
|
# =========
|
|
#
|
|
# .. _get_hook_dirs:
|
|
#
|
|
# get_hook_dirs
|
|
# -------------
|
|
#
|
|
# Tell PyInstaller where to find hooks provided by this distribution;
|
|
# this is referenced by the :ref:`hook registration <hook_registration>`.
|
|
# This function returns a list containing only the path to this
|
|
# directory, which is the location of these hooks.
|
|
|
|
def get_hook_dirs():
|
|
return [os.path.dirname(__file__)] |