It's not hard to write a Python package that can be installed into an interpreter or virtual environment with pip. This video shows a simple example of how to lay out a project's source code and set ...
Overview Python packages can be installed in an "editable" or "in-place" installation mode, where instead of copying the package's code into a virtual environment, there's a pointer to the source ...
I tried to use easy_install to build lxml and noticed that it was picking up MacPorts XML/XSLT libs in /opt/local/lib first. I'm not entirely sure if that would be OK with a Framework build of Python.