Custom HummingBot for Whitebit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
hummingbot/bin/path_util.py

16 lines
388 B

#!/usr/bin/python
if "hummingbot-dist" in __file__:
# Dist environment.
import os
import sys
sys.path.append(sys.path.pop(0))
sys.path.insert(0, os.getcwd())
import hummingbot
hummingbot.set_prefix_path(os.getcwd())
else:
# Dev environment.
from os.path import join, realpath
import sys
sys.path.insert(0, realpath(join(__file__, "../../")))