xpip fixed

This commit is contained in:
anki-code 2020-02-22 10:20:45 +03:00
parent c88ec9b81b
commit 96afdabefb

View file

@ -7,6 +7,7 @@ $PIP_TARGET = os.path.join($XXH_HOME, 'pip')
$PYTHONPATH = $PIP_TARGET
$PATH = [ os.path.join($PYTHONHOME, 'bin'), $XXH_HOME ] + $PATH
sys.path.append($PIP_TARGET)
aliases['xpip'] = ['python','-m','pip']
aliases['xxh'] = os.path.join($XXH_HOME, 'xonsh') + ' ' + os.path.join($XXH_HOME, 'xxh')
for plugin_path in sorted(glob.glob(os.path.join($XXH_HOME, 'plugins/**'))):