You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.
I installed gandi.cli from the repo code (python setup.py install --user) today, as I got bitten by some bugs in 0.16. It seems this had the side effect of updating following file with following content:
~ cat ./.local/lib/python2.7/site-packages/easy-install.pth
import sys; sys.__plen = len(sys.path)
./gandi.cli-0.16-py2.7.egg
/usr/lib/python2.7/dist-packages
import sys; new = sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p = getattr(sys, '__egginsert', 0); sys.path[p:p] = new; sys.__egginsert = p + len(new)
Which breaks at least one script where I need a particular directory added to PYTHONPATH, whilst it at run time gets prepended by the dirs added by the gandi.cli setup:
I installed gandi.cli from the repo code (
python setup.py install --user
) today, as I got bitten by some bugs in0.16
. It seems this had the side effect of updating following file with following content:Which breaks at least one script where I need a particular directory added to PYTHONPATH, whilst it at run time gets prepended by the dirs added by the gandi.cli setup:
Is this apparent cause indeed related to my
sys.path
problem, and did I do something wrong here, or is this a problem with with the gandi.cli setup?The text was updated successfully, but these errors were encountered: