Python ======= Functions --------- python-pygments-get python-crack-egg python-uninstall invoke python-unegg and python-uneasy python-uneasy remove the name entry from $PYTHON_SITE/easy-install.pth python-unegg delete the egg directory from $PYTHON_SITE python-pth cat the easy-install.pth python-isdevelopdir- return code indicates if the passed directory is egglinked into python syspath python-ls ls -l $PYTHON_SITE/ python-ldconfig does no harm to run this more that once ... === env-ldconfig : the dir /data/env/system/python/Python-2.5.1/lib is already there /etc/ld.so.conf python-cd cd $(python-site)/ python-mail echo hello testing python-mail | python-mail `local-email` python-mail-test python-mail-test Attempting to send email to recipient:[blyth@hep1.phys.ntu.edu.tw] from:[me@localhost] message lines:[4] NB for the mailing to work, a mailer needs to be running, eg on G : *sudo postfix start* Python lib structure --------------------- Currently piecemeal with multiple setup.py scripts python-syspath dump the syspath The *qxml/pyextfun* extension uses:: python setup.py install --prefix $(ENV_PREFIX) Writing into */usr/local/env/lib/python2.5/site-packages/* Macports Python Selection -------------------------- :: sudo port -v install py26-ipython -scientific sudo port -v install py26-setuptools sudo port -v install py26-nose sudo port select --set python python26 python -V sudo port select --set ipython ipython26 GDB Extensions for Python Debugging -------------------------------------- * https://fedoraproject.org/wiki/Features/EasierPythonDebugging