quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

framework_scripts_path.py (419B)


      1 """Add our Python library directory to the module search path.
      2 
      3 Usage:
      4 
      5     import framework_scripts_path # pylint: disable=unused-import
      6 """
      7 
      8 # Copyright The Mbed TLS Contributors
      9 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
     10 #
     11 
     12 import os
     13 import sys
     14 
     15 sys.path.append(os.path.join(os.path.dirname(__file__),
     16                              os.path.pardir,
     17                              'framework', 'scripts'))