mirror of
https://github.com/odriverobotics/ODrive.git
synced 2025-12-15 04:44:08 +08:00
14 lines
548 B
Python
14 lines
548 B
Python
#!/bin/python3
|
|
|
|
import sys
|
|
import os
|
|
|
|
try:
|
|
path = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'tools', 'fibre-tools', 'interface_generator.py')
|
|
exec(compile(open(path).read(), path, 'exec'))
|
|
except ImportError as ex:
|
|
print(str(ex), file=sys.stderr)
|
|
print("Note that there are new compile-time dependencies since around v0.5.1.", file=sys.stderr)
|
|
print("Check out https://github.com/odriverobotics/ODrive/blob/devel/docs/developer-guide.md#prerequisites for details.", file=sys.stderr)
|
|
exit(1)
|